InsertOrdinateDimension Method (ISketchManager)

InsertOrdinateDimension Method (ISketchManager) | Send Feedback
See Also

DatumPositionDblArray
  Array of three doubles indicating the point where to place the datum

DimensionPositionDblArray
  Array of three doubles indicating the point where to place the ordinate Dimension

DimensionTextOverride
  Text with which to override the default ordinate Dimension text

Measure
  Type of measurement as defined in dsOrdinateDimensionMeasure_e

Inserts an ordinate Dimension.

# Syntax

Visual Basic |
--- | ---
    Function InsertOrdinateDimension( _
       ByVal DatumPositionDblArray As System.Object, _
       ByVal DimensionPositionDblArray As System.Object, _
       ByVal DimensionTextOverride As System.String, _
       ByVal Measure As dsOrdinateDimensionMeasure_e _
    ) As OrdinateDimension

C# |
--- | ---
    OrdinateDimension InsertOrdinateDimension(
       System.object DatumPositionDblArray,
       System.object DimensionPositionDblArray,
       System.string DimensionTextOverride,
       dsOrdinateDimensionMeasure_e Measure
    )

JavaScript |
--- | ---
    InsertOrdinateDimension(
       DatumPositionDblArray : Array,
       DimensionPositionDblArray : Array,
       DimensionTextOverride : String,
       Measure : String
    ) : dsOrdinateDimension

COM native C++ |
--- | ---
    HRESULT InsertOrdinateDimension(
       VARIANT DatumPositionDblArray,
       VARIANT DimensionPositionDblArray,
       BSTR DimensionTextOverride,
       dsOrdinateDimensionMeasure_e Measure,
       IOrdinateDimension** OrdinateDimension
    )

C++ |
--- | ---
    DSRESULT InsertOrdinateDimension(
       const dsDoubleArray& DatumPositionDblArray,
       const dsDoubleArray& DimensionPositionDblArray,
       const dsString& DimensionTextOverride,
       dsOrdinateDimensionMeasure_e Measure,
       dsOrdinateDimension** OrdinateDimension
    )

#### Parameters

DatumPositionDblArray
  Array of three doubles indicating the point where to place the datum
DimensionPositionDblArray
  Array of three doubles indicating the point where to place the ordinate Dimension
DimensionTextOverride
  Text with which to override the default ordinate Dimension text
Measure
  Type of measurement as defined in dsOrdinateDimensionMeasure_e

# See Also

####

ISketchManager Interface
ISketchManager Members

# Availability

DraftSight V1R1.2