Autodesk.AutoCAD.DatabaseServices Namespace > DistanceConstraint Class > DistanceConstraint Constructor > DistanceConstraint(Vector3d) Constructor
DistanceConstraint.DistanceConstraint(Vector3d) Constructor   
Description

Constructor. The direction type is set to FixedDirection.

Visual Basic
Public Sub New(
    direction As Vector3d
)
C#
public DistanceConstraint(
    Vector3d direction
);
Parameters
Parameters 
Description 
Vector3d direction 
Input AcGeVector3d indicating the fixed direction which is used to measure the distance. The vector length must not be zero. 
Links
   Comments?