AcadDimension
A dimension measuring and displaying the distance between objects.
Supported Platforms: Windows only
Object Inheritance
Members
These members are part of this object:
Methods- GetXData
- SetXData
- Delete
- GetExtensionDictionary
- ArrayPolar
- ArrayRectangular
- Highlight
- Copy
- Move
- Rotate
- Rotate3D
- Mirror
- Mirror3D
- ScaleEntity
- TransformBy
- Update
- GetBoundingBox
- IntersectWith
Properties- Handle
- ObjectName
- ObjectID
- Application
- HasExtensionDictionary
- OwnerID
- Document
- TrueColor
- Layer
- Linetype
- LinetypeScale
- Visible
- PlotStyleName
- Lineweight
- Hyperlinks
- Material
- EntityTransparency
- Normal
- Rotation
- TextPosition
- TextRotation
- TextOverride
- StyleName
- TextColor
- DecimalSeparator
- TextGap
- TextPrefix
- TextSuffix
- ScaleFactor
- VerticalTextPosition
- TolerancePrecision
- ToleranceHeightScale
- ToleranceLowerLimit
- TextMovement
- ToleranceDisplay
- ToleranceJustification
- ToleranceUpperLimit
- TextStyle
- TextHeight
- SuppressLeadingZeros
- SuppressTrailingZeros
- ToleranceSuppressLeadingZeros
- ToleranceSuppressTrailingZeros
- TextFill
- TextFillColor
- GetXData()
Void GetXData([in] BSTR AppName, [out] Pointer Type XDataType, [out] Pointer Type XDataValue)
Returns the extended data (XData) associated with an object.
- SetXData()
Void SetXData([in] VARIANT XDataType, [in] VARIANT XDataValue)
Sets the extended data (XData) associated with an object.
- Delete()
Void Delete( )
Deletes a specified object.
- GetExtensionDictionary()
IAcadDictionary* GetExtensionDictionary( )
Returns the extension dictionary associated with an object.
- ArrayPolar()
VARIANT ArrayPolar([in] Int NumberOfObjects, [in] Double AngleToFill, [in] VARIANT CenterPoint)
Not implemented. Creates an array of selected objects in a polar pattern.
- ArrayRectangular()
VARIANT ArrayRectangular([in] Int NumberOfRows, [in] Int NumberOfColumns, [in] Int NumberOfLevels, [in] Double DistBetweenRows, [in] Double DistBetweenCols, [in] Double DistBetweenLevels)
Not implemented. Creates an array of selected objects in a rectangular pattern.
- Highlight()
Void Highlight([in] Boolean HighlightFlag)
Not implemented. Highlights or removes highlight from an entity.
- Copy()
IDispatch* Copy( )
Copies a specified entity.
- Move()
Void Move([in] VARIANT FromPoint, [in] VARIANT ToPoint)
Moves an entity from one point to a second point.
- Rotate()
Void Rotate([in] VARIANT BasePoint, [in] Double RotationAngle)
Rotates an entity around a point.
- Rotate3D()
Void Rotate3D([in] VARIANT Point1, [in] VARIANT Point2, [in] Double RotationAngle)
Rotates an entity around a line defined by two points, where the direction of the axis if from the first point to the second point.
- Mirror()
IDispatch* Mirror([in] VARIANT Point1, [in] VARIANT Point2)
Not implemented. Mirrors an object around a line defined by two points.
- Mirror3D()
IDispatch* Mirror3D([in] VARIANT Point1, [in] VARIANT Point2, [in] VARIANT point3)
Not implemented. Mirrors an object around a plane defined by three points.
- ScaleEntity()
Void ScaleEntity([in] VARIANT BasePoint, [in] Double ScaleFactor)
Scales an object with respect to a base point and scale factor.
- TransformBy()
Void TransformBy([in] VARIANT TransformationMatrix)
Performs the specified transformation on an entity.
- Update()
Void Update( )
Not implemented. Updates the display of an entity.
- GetBoundingBox()
Void GetBoundingBox([out] Pointer Type MinPoint, [out] Pointer Type MaxPoint)
Returns the minimum and maximum point of an entity's bounding box.
- IntersectWith()
VARIANT IntersectWith([in] IDispatch* IntersectObject, AcExtendOptionShort option)
Returns coordinates of intersections with the (input) IntersectObject.
- Handle [ReadOnly]
BSTR Handle( )
Returns the handle of an object.
- ObjectName [ReadOnly]
BSTR ObjectName( )
Returns the TeighaX class name of an object.
- ObjectID [ReadOnly]
LONG_PTR ObjectID( )
Returns the object ID of an object.
- Application [ReadOnly]
IDispatch* Application( )
Returns the Application object.
- HasExtensionDictionary [ReadOnly]
Boolean HasExtensionDictionary( )
Returns whether an object has an associated extension dictionary.
- OwnerID [ReadOnly]
LONG_PTR OwnerID( )
Returns the object ID of the parent object.
- Document [ReadOnly]
IDispatch* Document( )
Returns the drawing to which an object belongs.
- TrueColor
IAcadAcCmColor* TrueColor( )
Specifies or returns the true color of an object.
- Layer
BSTR Layer( )
Specifies or returns the current layer of an object.
- Linetype
BSTR Linetype( )
Specifies or returns the current linetype of an object.
- LinetypeScale
ACAD_NOUNITS LinetypeScale( )
Specifies or returns the linetype scale factor of an object.
- Visible
Boolean Visible( )
Specifies or returns the visibility of an object or the application.
- PlotStyleName
BSTR PlotStyleName( )
Specifies or returns the plot style name of an object.
- Lineweight
ACAD_LWEIGHT Lineweight( )
Specifies or returns the lineweight of an object.
- Hyperlinks [ReadOnly]
IAcadHyperlinks* Hyperlinks( )
Assigns a hyperlink to an object and displays the hyperlink name and description (if one is specified).
- Material
BSTR Material( )
Specifies or returns the material of an object.
- EntityTransparency
BSTR EntityTransparency( )
Specifies the transparency of the object
- Normal
VARIANT Normal( )
Specifies or returns the x, y, and z coordinates of the normal direction vector.
- Rotation
ACAD_ANGLE Rotation( )
Specifies or returns the rotation angle of a dimension.
- TextPosition
VARIANT TextPosition( )
Specifies or returns the x, y, z coordinates for the text position of a dimension.
- TextRotation
ACAD_ANGLE TextRotation( )
Specifies or returns the rotation angle of dimension text.
- TextOverride
BSTR TextOverride( )
Specifies or returns a dimension text string that displays in addition to or instead of the dimension measurement.
- StyleName
BSTR StyleName( )
Specifies or returns the name of the dimension style assigned to a dimension.
- TextColor
ACAD_COLOR TextColor( )
Specifies or returns the text color of a dimension.
- DecimalSeparator
BSTR DecimalSeparator( )
Specifies or returns the decimal separator of a dimension formatted for decimals.
- TextGap
Double TextGap( )
Specifies or returns the amount of blank space surrounding dimension text when the text causes a dimension line to break.
- TextPrefix
BSTR TextPrefix( )
Specifies or returns the prefix for text of a dimension.
- TextSuffix
BSTR TextSuffix( )
Specifies or returns the suffix for text of a dimension.
- ScaleFactor
ACAD_NOUNITS ScaleFactor( )
Specifies or returns the scale factor of a dimension.
- VerticalTextPosition
AcDimVerticalJustification VerticalTextPosition( )
Specifies or returns the vertical position of text for a dimension.
- TolerancePrecision
AcDimPrecision TolerancePrecision( )
Specifies or returns the number of decimal places for tolerance values of dimensions.
- ToleranceHeightScale
ACAD_NOUNITS ToleranceHeightScale( )
Specifies or returns the scale factor of tolerance text height in relation to dimension text height.
- ToleranceLowerLimit
Double ToleranceLowerLimit( )
Specifies or returns the lower tolerance limit for dimensions.
- TextMovement
AcDimTextMovement TextMovement( )
Specifies or returns how dimension lines move when the corresponding dimension text moves.
- ToleranceDisplay
AcDimToleranceMethod ToleranceDisplay( )
Specifies or returns whether dimension tolerance values display with dimension text.
- ToleranceJustification
AcDimToleranceJustify ToleranceJustification( )
Specifies or returns the vertical placement of tolerance values for dimension text.
- ToleranceUpperLimit
Double ToleranceUpperLimit( )
Specifies or returns the upper tolerance limit for dimensions.
- TextStyle
BSTR TextStyle( )
Specifies or returns the text style of a dimension.
- TextHeight
Double TextHeight( )
Specifies or returns the text height of a dimension.
- SuppressLeadingZeros
Boolean SuppressLeadingZeros( )
Specifies or returns whether leading zeros display for dimensions.
- SuppressTrailingZeros
Boolean SuppressTrailingZeros( )
Specifies or returns whether trailing zeros display for dimensions.
- ToleranceSuppressLeadingZeros
Boolean ToleranceSuppressLeadingZeros( )
Specifies or returns whether leading zeros display for tolerance values of dimensions.
- ToleranceSuppressTrailingZeros
Boolean ToleranceSuppressTrailingZeros( )
Specifies or returns whether trailing zeros display for tolerance values of dimensions.
- TextFill
Boolean TextFill( )
Specifies or returns the background fill of dimension text.
- TextFillColor
ACAD_COLOR TextFillColor( )
Specifies or returns the fill color for dimension text.
- Modified()
Void Modified([in, out] IAcadObject pObject)
Occurs when an object in a drawing has been modified.