Share

RotatedDimension Class

Description

This class wraps the AcDbRotatedDimension ObjectARX class.

The RotatedDimension 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.

Class Hierarchy

Autodesk.AutoCAD.DatabaseServices.DBObject
    Autodesk.AutoCAD.DatabaseServices.Entity
        Autodesk.AutoCAD.DatabaseServices.Dimension
            Autodesk.AutoCAD.DatabaseServices.RotatedDimension

Visual Basic

Public Class RotatedDimension
Inherits Dimension

C#

public class RotatedDimension : Dimension;

Notes

When a newly created dimension entity is first closed, an anonymous block (an BlockTableRecord 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, Dimension.UsingDefaultTextPosition 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

RotatedDimension Constructor, RotatedDimension Properties

See Also

DBObject, Entity

Was this information helpful?