Click or drag to resize
SoPathGetByName Method (String, SoPathList)

Method to return paths with a given name.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public static int GetByName(
	string name,
	SoPathList list
)

Parameters

name
Type: SystemString
list
Type: OIV.InventorSoPathList

Return Value

Type: Int32
Remarks

Paths are named by calling their () method (defined by the OIV.Inventor.Misc.SoBase class). This method appends all paths with the given name to the given path list and returns the number of paths that were added. If there are no paths with the given name, zero will be returned and nothing will be added to the list.

See Also