InsertInfiniteLine Method (ISketchManager)

InsertInfiniteLine Method (ISketchManager) | Send Feedback
See Also Example

InfiniteLine[out]
  InfiniteLine

X1
  x coordinate of the central position of the InfiniteLine

Y1
  y coordinate of the central position of the InfiniteLine

Z1
  z coordinate of the central position of the InfiniteLine

X2
  x coordinate of the through point that defines the direction of the InfiniteLine

Y2
  y coordinate of the through point that defines the direction of the InfiniteLine

Z2
  z coordinate of the through point that defines the direction of the InfiniteLine

Constructs an InfiniteLine.

# Syntax

Visual Basic |
--- | ---
    Function InsertInfiniteLine( _
       ByVal X1 As System.Double, _
       ByVal Y1 As System.Double, _
       ByVal Z1 As System.Double, _
       ByVal X2 As System.Double, _
       ByVal Y2 As System.Double, _
       ByVal Z2 As System.Double _
    ) As InfiniteLine

C# |
--- | ---
    InfiniteLine InsertInfiniteLine(
       System.double X1,
       System.double Y1,
       System.double Z1,
       System.double X2,
       System.double Y2,
       System.double Z2
    )

JavaScript |
--- | ---
    InsertInfiniteLine(
       X1 : Number,
       Y1 : Number,
       Z1 : Number,
       X2 : Number,
       Y2 : Number,
       Z2 : Number
    ) : dsInfiniteLine

COM native C++ |
--- | ---
    HRESULT InsertInfiniteLine(
       DOUBLE X1,
       DOUBLE Y1,
       DOUBLE Z1,
       DOUBLE X2,
       DOUBLE Y2,
       DOUBLE Z2,
       IInfiniteLine** InfiniteLine
    )

C++ |
--- | ---
    DSRESULT InsertInfiniteLine(
       double X1,
       double Y1,
       double Z1,
       double X2,
       double Y2,
       double Z2,
       dsInfiniteLine** InfiniteLine
    )

#### Parameters

X1
  x coordinate of the central position of the InfiniteLine
Y1
  y coordinate of the central position of the InfiniteLine
Z1
  z coordinate of the central position of the InfiniteLine
X2
  x coordinate of the through point that defines the direction of the InfiniteLine
Y2
  y coordinate of the through point that defines the direction of the InfiniteLine
Z2
  z coordinate of the through point that defines the direction of the InfiniteLine
InfiniteLine[out] or Return Value
  InfiniteLine

# Example

Construct InfiniteLine (C#)
Construct InfiniteLine (VB.NET)
Construct InfiniteLine (VBA)

# See Also

####

ISketchManager Interface
ISketchManager Members

# Availability

DraftSight V1R1.1