SoPathCopy Method (Int32, Int32) |
Creates and returns a new path that is a copy of some or all of this path.
Namespace: OIV.InventorAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax public SoPath Copy(
int startFromNodeIndex,
int numNodes
)
Public Function Copy (
startFromNodeIndex As Integer,
numNodes As Integer
) As SoPath
public:
SoPath^ Copy(
int startFromNodeIndex,
int numNodes
)
member Copy :
startFromNodeIndex : int *
numNodes : int -> SoPath
Parameters
- startFromNodeIndex
- Type: SystemInt32
- numNodes
- Type: SystemInt32
Return Value
Type:
SoPathRemarks Copying starts at the given index (default is 0, which is the head node). A numNodes of 0 (the default) means copy all nodes from the starting index to the end. Returns NULL on error.
See Also