InsertLine Method (ISketchManager)

InsertLine Method (ISketchManager) | Send Feedback
See Also Example

Line[out]
  Line

StartX
  x coordinate where to start the Line

StartY
  y coordinate where to start the Line

StartZ
  z coordinate where to start the Line

EndX
  x coordinate where to end the Line

EndY
  y coordinate where to end the Line

EndZ
  z coordinate where to end the Line

Constructs a Line.

# Syntax

Visual Basic |
--- | ---
    Function InsertLine( _
       ByVal StartX As System.Double, _
       ByVal StartY As System.Double, _
       ByVal StartZ As System.Double, _
       ByVal EndX As System.Double, _
       ByVal EndY As System.Double, _
       ByVal EndZ As System.Double _
    ) As Line

C# |
--- | ---
    Line InsertLine(
       System.double StartX,
       System.double StartY,
       System.double StartZ,
       System.double EndX,
       System.double EndY,
       System.double EndZ
    )

JavaScript |
--- | ---
    InsertLine(
       StartX : Number,
       StartY : Number,
       StartZ : Number,
       EndX : Number,
       EndY : Number,
       EndZ : Number
    ) : dsLine

COM native C++ |
--- | ---
    HRESULT InsertLine(
       DOUBLE StartX,
       DOUBLE StartY,
       DOUBLE StartZ,
       DOUBLE EndX,
       DOUBLE EndY,
       DOUBLE EndZ,
       ILine** Line
    )

C++ |
--- | ---
    DSRESULT InsertLine(
       double StartX,
       double StartY,
       double StartZ,
       double EndX,
       double EndY,
       double EndZ,
       dsLine** Line
    )

#### Parameters

StartX
  x coordinate where to start the Line
StartY
  y coordinate where to start the Line
StartZ
  z coordinate where to start the Line
EndX
  x coordinate where to end the Line
EndY
  y coordinate where to end the Line
EndZ
  z coordinate where to end the Line
Line[out] or Return Value
  Line

# Example

Construct Line (C#)
Construct Line (VB.NET)
Construct Line (VBA)
Insert Lines and Angular Dimension (JavaScript)
Insert and Dimension Sketch (JavaScript)
Attach Block Definition Annotation to Leader (C#)
Attach Block Definition Annotation to Leader (VB.NET)
Attach Block Definition Annotation to Leader (VBA)
Attach Block Definition Annotation to Leader (JavaScript)
Load and Activate LineStyles (C#)
Load and Activate LineStyles (VB.NET)
Load and Activate LineStyles (VBA)
Load and Activate LineStyles (JavaScript)

# See Also

####

ISketchManager Interface
ISketchManager Members

# Availability

DraftSight V1R1.1