Click or drag to resize
SoBaseKitCreatePathToPart Method (String, Boolean, SoPath)

Returns a path that begins at this nodekit and ends at partName.

Namespace: OIV.Inventor.Nodekits
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public virtual SoNodeKitPath CreatePathToPart(
	string partName,
	bool makeIfNeeded,
	SoPath pathToExtend
)

Parameters

partName
Type: SystemString
makeIfNeeded
Type: SystemBoolean
pathToExtend
Type: OIV.InventorSoPath

Return Value

Type: SoNodeKitPath
Remarks

Searching for the part is the same as in OIV.Inventor.Nodekits.SoBaseKit.GetPart(System.String, System.Boolean). NULL is returned if partName cannot be found, or if makeIfNeeded is false and the part is not yet built. If the part is retrieved and the argument pathToExtend is NULL, the path returned begins at this and ends at partName. If pathToExtend is not NULL, the path created is a copy of pathToExtend with entries appended all the way down to partName. It is okay for pathToExtend to go beyond the nodekit; extra nodes will be popped off the tail before continuing from this down to partName.

See Also