Share

AcDbRotatedDimension

Class Hierarchy

AcRxObject
    AcGiDrawable
        AcDbObject
            AcDbEntity
                AcDbDimension
                    AcDbRotatedDimension

C++

class AcDbRotatedDimension : public AcDbDimension;

File

dbdim.h

Description

The AcDbRotatedDimension class represents the dimension type that dimensions the distance between two points in space when they are projected onto a line at a specific angle (the rotation angle) within the dimension's plane.

A "horizontal" dimension is a rotated dimension with an angle equal to the angle between the dimension's OCS X axis and the X axis of the UCS used to define "horizontal." A "vertical" dimension is a rotated dimension with an angle equal to pi / 2 radians (90 degrees) greater than the angle for a "horizontal" dimension.

Remarks

When a newly created dimension entity is first closed, an anonymous block (an AcDbBlockTableRecord that contains all the appropriate line, arc, arrowhead solids, text, etc. and with *D as the block name prefix) is automatically created for it to reference for display.

If the dimension has been set to use the text position value rather than the default text position (that is, AcDbDimension::useSetTextPosition() has been called) and the DIMFIT system variable is not set to 4, then the text position takes precedence over the dimLine setting in placing the dimension line so that it lines up with the text position.

Links

AcDbRotatedDimension Constructor, AcDbRotatedDimension Methods

See Also

AcDbObject, AcDbEntity

Was this information helpful?