Split Method (IPolyLine3D) Send Feedback
See Also 
Result[out]
True if the original 3D PolyLine is split and a new 3D PolyLine is created, false if not
VertexIndex
Index of vertex where to split the 3D PolyLine (see Remarks)
NewPolyline[out]
New 3D PolyLine
Splits the 3D PolyLine at the specified vertex and creates a new 3D PolyLine.

Syntax

Visual Basic 
Function Split( _
   ByVal VertexIndex As System.Integer, _
   ByRef NewPolyline As PolyLine3D _
) As System.Boolean
C# 
System.bool Split( 
   System.int VertexIndex,
   out PolyLine3D NewPolyline
)
JavaScript 
Split( 
   VertexIndex : Number
) : {
   NewPolyline : dsPolyLine3D,
   Result : Boolean
}
COM native C++ 
HRESULT Split( 
   LONG VertexIndex,
   IPolyLine3D** NewPolyline,
   VARIANT_BOOL* Result
) 
C++ 
DSRESULT Split( 
   long VertexIndex,
   dsPolyLine3D** NewPolyline,
   bool* Result
) 

Parameters

VertexIndex
Index of vertex where to split the 3D PolyLine (see Remarks)
NewPolyline[out]
New 3D PolyLine
Result[out] or Return Value
True if the original 3D PolyLine is split and a new 3D PolyLine is created, false if not

Remarks

Before calling this method, call IPolyLine3D::GetVeticesCount to get the number of vertices in the 3D PolyLine and to determine a valid value for VertexIndex.
 

See Also

Availability

DraftSight V1R1.3