InsertPolyline3D Method (ISketchManager)

InsertPolyline3D Method (ISketchManager) | Send Feedback
See Also

PolyLine3D[out]
  IPolyLine3D

CoordinateDblArray
  Array of the x, y, and z coordinates of the 3D PolyLine (see Remarks)

Closed
  True to close the 3D PolyLine, false to leave it open

Constructs a 3D PolyLine.

# Syntax

Visual Basic |
--- | ---
    Function InsertPolyline3D( _
       ByVal CoordinateDblArray As System.Object, _
       ByVal Closed As System.Boolean _
    ) As PolyLine3D

C# |
--- | ---
    PolyLine3D InsertPolyline3D(
       System.object CoordinateDblArray,
       System.bool Closed
    )

JavaScript |
--- | ---
    InsertPolyline3D(
       CoordinateDblArray : Array,
       Closed : Boolean
    ) : dsPolyLine3D

COM native C++ |
--- | ---
    HRESULT InsertPolyline3D(
       VARIANT CoordinateDblArray,
       VARIANT_BOOL Closed,
       IPolyLine3D** PolyLine3D
    )

C++ |
--- | ---
    DSRESULT InsertPolyline3D(
       const dsDoubleArray& CoordinateDblArray,
       bool Closed,
       dsPolyLine3D** PolyLine3D
    )

#### Parameters

CoordinateDblArray
  Array of the x, y, and z coordinates of the 3D PolyLine (see Remarks)
Closed
  True to close the 3D PolyLine, false to leave it open
PolyLine3D[out] or Return Value
  IPolyLine3D

# Remarks

The size of CoordinateDblArray is (3 * (Number of 3D PolyLine vertices)). The order of the elements in the array is (x1, y1, z1, x2, y2, z2 ...).

# See Also

####

ISketchManager Interface
ISketchManager Members
ISketchManager::InsertPolyline2D Method

# Availability

DraftSight V1R1.3