InsertRotatedDimension Method (ISketchManager) Send Feedback
See Also  Example
RotatedDimension[out]
Rotated Dimension
ExtensionLine1PointDblArray
Array of three doubles indicating the origin of the first extension line
ExtensionLine2PointDblArray
Array of three doubles indicating the origin of the second extension line
DimensionLinePointDblArray
Array of three doubles indicating the point where to place the rotated Dimension
DimensionTextOverride
Text with which to override the default Dimension text
RotationAngle
Angle by which to rotate the Dimension (see Remarks)
Inserts a rotated Dimension.

Syntax

Visual Basic 
Function InsertRotatedDimension( _
   ByVal ExtensionLine1PointDblArray As System.Object, _
   ByVal ExtensionLine2PointDblArray As System.Object, _
   ByVal DimensionLinePointDblArray As System.Object, _
   ByVal DimensionTextOverride As System.String, _
   ByVal RotationAngle As System.Double _
) As RotatedDimension
C# 
RotatedDimension InsertRotatedDimension( 
   System.object ExtensionLine1PointDblArray,
   System.object ExtensionLine2PointDblArray,
   System.object DimensionLinePointDblArray,
   System.string DimensionTextOverride,
   System.double RotationAngle
)
JavaScript 
InsertRotatedDimension( 
   ExtensionLine1PointDblArray : Array,
   ExtensionLine2PointDblArray : Array,
   DimensionLinePointDblArray : Array,
   DimensionTextOverride : String,
   RotationAngle : Number
) : dsRotatedDimension
COM native C++ 
HRESULT InsertRotatedDimension( 
   VARIANT ExtensionLine1PointDblArray,
   VARIANT ExtensionLine2PointDblArray,
   VARIANT DimensionLinePointDblArray,
   BSTR DimensionTextOverride,
   DOUBLE RotationAngle,
   IRotatedDimension** RotatedDimension
) 
C++ 
DSRESULT InsertRotatedDimension( 
   const dsDoubleArray& ExtensionLine1PointDblArray,
   const dsDoubleArray& ExtensionLine2PointDblArray,
   const dsDoubleArray& DimensionLinePointDblArray,
   const dsString& DimensionTextOverride,
   double RotationAngle,
   dsRotatedDimension** RotatedDimension
) 

Parameters

ExtensionLine1PointDblArray
Array of three doubles indicating the origin of the first extension line
ExtensionLine2PointDblArray
Array of three doubles indicating the origin of the second extension line
DimensionLinePointDblArray
Array of three doubles indicating the point where to place the rotated Dimension
DimensionTextOverride
Text with which to override the default Dimension text
RotationAngle
Angle by which to rotate the Dimension (see Remarks)
RotatedDimension[out] or Return Value
Rotated Dimension

Example

Remarks

The value specified for RotationAngle affects the angle of the Dimension lines and text. Setting RotationAngle to:

  • 0 results in horizontal Dimension lines and text.
  • a non-0 value results in vertical Dimension lines and text.
 

See Also

Availability

DraftSight V1R1.2