InsertTrace Method (ISketchManager)

InsertTrace Method (ISketchManager) | Send Feedback
See Also Example

Trace[out]
  Trace

CoordinateDblArray
  Array of doubles of the x, y, and z coordinates of the four vertices of the Trace

Inserts a Trace, which is a 2D solid Line.

# Syntax

Visual Basic |
--- | ---
    Function InsertTrace( _
       ByVal CoordinateDblArray As System.Object _
    ) As Trace

C# |
--- | ---
    Trace InsertTrace(
       System.object CoordinateDblArray
    )

JavaScript |
--- | ---
    InsertTrace(
       CoordinateDblArray : Array
    ) : dsTrace

COM native C++ |
--- | ---
    HRESULT InsertTrace(
       VARIANT CoordinateDblArray,
       ITrace** Trace
    )

C++ |
--- | ---
    DSRESULT InsertTrace(
       const dsDoubleArray& CoordinateDblArray,
       dsTrace** Trace
    )

#### Parameters

CoordinateDblArray
  Array of doubles of the x, y, and z coordinates of the four vertices of the Trace
Trace[out] or Return Value
  Trace

# Example

Create and Change Trace (C#)
Create and Change Trace (VB.NET)
Create and Change Trace (VBA)

# Remarks

The first and second sets of x, y, and z coordinates specify the width of the Trace. The third and fourth sets of x, y, and z coordinates specify the start and end points of the 2D solid Line, respectively.

# See Also

####

ISketchManager Interface
ISketchManager Members

# Availability

DraftSight V1R5.0