SoPathGetByName Method (String, SoPathList) |
Method to return paths with a given name.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public static int GetByName(
string name,
SoPathList list
)
Public Shared Function GetByName (
name As String,
list As SoPathList
) As Integer
public:
static int GetByName(
String^ name,
SoPathList^ list
)
static member GetByName :
name : string *
list : SoPathList -> int
Parameters
- name
- Type: SystemString
- list
- Type: OIV.InventorSoPathList
Return Value
Type:
Int32Remarks 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