InsertAlignedDimension Method (ISketchManager) Send Feedback
See Also  Example
AlignedDimension[out]
Aligned linear Dimension
ExtensionLine1PointDblArray
Array of three doubles indicating the point where to place the first extension line
ExtensionLine2PointDblArray
Array of three doubles indicating the point where to place the second extension line
DimensionLinePointDblArray
Array of three doubles indicating the point where to place the Dimension
DimensionTextOverride
Text with which to override the default Dimension text
Inserts an aligned linear Dimension.

Syntax

Visual Basic 
Function InsertAlignedDimension( _
   ByVal ExtensionLine1PointDblArray As System.Object, _
   ByVal ExtensionLine2PointDblArray As System.Object, _
   ByVal DimensionLinePointDblArray As System.Object, _
   ByVal DimensionTextOverride As System.String _
) As AlignedDimension
C# 
AlignedDimension InsertAlignedDimension( 
   System.object ExtensionLine1PointDblArray,
   System.object ExtensionLine2PointDblArray,
   System.object DimensionLinePointDblArray,
   System.string DimensionTextOverride
)
JavaScript 
InsertAlignedDimension( 
   ExtensionLine1PointDblArray : Array,
   ExtensionLine2PointDblArray : Array,
   DimensionLinePointDblArray : Array,
   DimensionTextOverride : String
) : dsAlignedDimension
COM native C++ 
HRESULT InsertAlignedDimension( 
   VARIANT ExtensionLine1PointDblArray,
   VARIANT ExtensionLine2PointDblArray,
   VARIANT DimensionLinePointDblArray,
   BSTR DimensionTextOverride,
   IAlignedDimension** AlignedDimension
) 
C++ 
DSRESULT InsertAlignedDimension( 
   const dsDoubleArray& ExtensionLine1PointDblArray,
   const dsDoubleArray& ExtensionLine2PointDblArray,
   const dsDoubleArray& DimensionLinePointDblArray,
   const dsString& DimensionTextOverride,
   dsAlignedDimension** AlignedDimension
) 

Parameters

ExtensionLine1PointDblArray
Array of three doubles indicating the point where to place the first extension line
ExtensionLine2PointDblArray
Array of three doubles indicating the point where to place the second extension line
DimensionLinePointDblArray
Array of three doubles indicating the point where to place the Dimension
DimensionTextOverride
Text with which to override the default Dimension text
AlignedDimension[out] or Return Value
Aligned linear Dimension

Example

Remarks

  • dsCommandOptionInt16_SetDmRltvMode = 0
    Explode dimension; no association to the two extension lines.
  • dsCommandOptionInt16_SetDmRltvMode = 1
    No association to the two extension lines.
  • dsCommandOptionInt16_SetDmRltvMode = 2
    Dimension is associated to the two extension lines, if they exist.
 

See Also

Availability

DraftSight V1R1.2