Dimension Properties

The Dimension type exposes the following members.

Properties
  Name Description
Public property AcadObject
(Inherited from DBObject)
Public property AlternatePrefix Sets or gets the prefix for alternate dimension measurements.
Public property AlternateSuffix Sets or gets the suffix for alternate dimension measurements.
Public property AltSuppressLeadingZeros Sets or gets the suppression of leading zeros in alternate dimension values.
Public property AltSuppressTrailingZeros Sets or gets the suppression of trailing zeros in alternate dimension values.
Public property AltSuppressZeroFeet Sets or gets the suppression of zero-foot measurements in alternate dimension values.
Public property AltSuppressZeroInches Sets or gets the suppression of zero-inch measurements in alternate dimension values.
Public property AltToleranceSuppressLeadingZeros Sets or gets the suppression of leading zeros for tolerance values in alternate dimension values.
Public property AltToleranceSuppressTrailingZeros Sets or gets the suppression of trailing zeros for tolerance values in alternate dimension values.
Public property AltToleranceSuppressZeroFeet Sets or gets the suppression of zero-foot measurements for tolerance values in alternate dimension values.
Public property AltToleranceSuppressZeroInches Sets or gets the suppression of zero-inch measurements for tolerance values in alternate dimension values.
Public property Annotative
(Inherited from DBObject)
Public property AutoDelete
(Inherited from DisposableWrapper)
Public property BlockId Property that represents an object identifier of a block that stores this entity.
(Inherited from Entity)
Public property BlockName Property that represents the name of a block that owns this entity.
(Inherited from Entity)
Public property Bounds
(Inherited from Drawable)
Public property CastShadows Property that indicates whether this entity casts shadows.
(Inherited from Entity)
Public property CenterMarkSize Gets the center mark size for radial and diameter dimensions.
Public property CenterMarkType Gets the center mark type for radial and diameter dimensions.
Public property ClassID
(Inherited from DBObject)
Public property CloneMeForDragging Property that represents the cloneMeForDragging flag. This flag indicates whether a clone of this entity should be created for drag operations.
(Inherited from Entity)
Public property CollisionType Property that represents a collision type for this entity.
(Inherited from Entity)
Public property Color Property that represents color for this entity.
(Inherited from Entity)
Public property ColorIndex Property that represents a color index for this entity.
(Inherited from Entity)
Public property CompoundObjectTransform Property that represents a transformation matrix for compound objects (these objects return the DrawableIsCompoundObject flag from the subSetAttributes() method). The returned matrix is the same matrix that is passed to pushModelTransform() before rendering nested objects.
(Inherited from Entity)
Public property CurrentMeasurement Stores the measured value in the specified units as a Double value. For linear dimensions it is a length, for angular dimensions it is an angle.
Public property Database
(Inherited from DBObject)
Public property Dimadec Sets or gets the number of decimal places in the angular measured value and angular tolerance.
Value Description
0-8 Specifies the number of decimal places.
-1 The number of decimal places defined by the Dimdec property.
Public property Dimalt Controls the display of alternate measurements in dimensions.
Public property Dimaltd Sets or gets the number of decimal places for alternate measurements in dimensions.
Public property Dimaltf Sets or gets the scale factor for alternate linear units.
Public property Dimaltrnd Sets or gets the real number to round alternate measured values (not tolerance values).
Public property Dimalttd Sets or gets the number of decimal places for alternate tolerance values.
Public property Dimalttz Sets or gets the suppression of zeros in alternate tolerance values in dimension.
Value Description
0 Suppresses zero feet and zero inches.
1 Includes zero feet and zero inches.
2 Suppresses zero inches and includes zero feet.
3 Suppresses zero feet and includes zero inches.
4 Suppresses leading zeros.
8 Suppresses trailing zeros.
12 Suppresses both leading and trailing zeros.
Public property Dimaltu Sets or gets the format of alternate units.
Value Description
1 Scientific format.
2 Decimal format.
3 Engineering format.
4 Architectural (stacked) format.
5 Fractions (stacked) format.
6 Architectural format.
7 Fractions format.
8 Microsoft® Windows® operating system default format.
Public property Dimaltz Sets or gets the suppression of zeros in alternate measurements in dimensions.
Value Description
0 Suppresses zero feet and zero inches
1 Includes zero feet and zero inches.
2 Suppresses zero inches and includes zero feet.
3 Suppresses zero feet and includes zero inches.
4 Suppresses leading zeros.
8 Suppresses trailing zeros.
12 Suppresses both leading and trailing zeros.
Public property Dimapost Sets or gets a text suffix or prefix or both for dimension alternate measurements. Dimpost is in the form prefix<>suffix. The '<>' in Dimpost is replaced by the alternate measurements text.
Public property Dimarcsym Sets or gets the type of arc symbol used within the dimension text of the arc length dimension entity.
Value Description
0 The arc symbol precedes text.
1 The arc symbol is placed above text.
2 No arc symbol.
Public property Dimasz Sets or gets the size of dimension lines arrowheads.
Public property Dimatfit Sets or gets how arrows and text are placed when they do not fit within the extension lines of dimensions.
Value Description
0 Moves both text and arrowheads outside of extension lines.
1 Moves arrowheads outside of extension lines and text is placed between extension lines.
2 Moves text outside of extension lines and arrowheads are placed between extension lines.
3 Moves either text or arrowheads or both outside of the extension lines to provide the best fit. This is the initial value.
Public property Dimaunit Sets or gets the format for the angular measured value and angular tolerance value.
Value Description
0 Decimal degrees.
1 Degrees, minutes, and seconds.
2 Gradians.
3 Radians.
Public property Dimazin Sets or gets the suppression of zeros in angular measured values and tolerance.
Value Description
0 Includes all leading and trailing zeros.
1 Suppresses leading zeros.
2 Suppresses trailing zeros.
3 Suppresses leading and trailing zeros.
Public property Dimblk Sets or gets an ObjectId of the block that form arrowheads for dimension lines.
Public property Dimblk1 Sets or gets an ObjectId of the block that form arrowheads for the first dimension line.
Public property Dimblk1s Sets or gets the name of the arrowhead block at the end of the first dimension line.
Public property Dimblk2 Sets or gets an ObjectId of the block that form arrowheads for the second dimension line.
Public property Dimblk2s Sets or gets the name of the arrowhead block at the end of the second dimension line. The following names are applicable:
Value Description
"None" None
"Closed" Closed
"Dot" Dot
"ClosedBlank" Closed blank
"Oblique" Oblique
"ArchTick" Architectural tick
"Open" Open
"Origin" Origin marker
"Origin2" Origin marker 2
"Open90" Open 90 degrees
"Open30" Open 30 degrees
"DotBlank" Dot blank
"DotSmall" Dot small
"BoxFilled" Box filled
"BoxBlank" Box blank
"DatumFilled" Datum marker filled
"DatumBlank" Datum marker blank
"Integral" Integral
"Small" Dot small blank
The Dimsah property should be set to true to use arrowhead types set by the Dimblk2s property, and set to false if a type set by Dimblks is used.
Public property Dimblks Sets or gets the name of the arrowhead block at the ends of dimension lines. The following names are applicable:
Value Description
"None" None
"Closed" Closed
"Dot" Dot
"ClosedBlank" Closed blank
"Oblique" Oblique
"ArchTick" Architectural tick
"Open" Open
"Origin" Origin marker
"Origin2" Origin marker 2
"Open90" Open 90 degrees
"Open30" Open 30 degrees
"DotBlank" Dot blank
"DotSmall" Dot small
"BoxFilled" Box filled
"BoxBlank" Box blank
"DatumFilled" Datum marker filled
"DatumBlank" Datum marker blank
"Integral" Integral
"Small" Dot small blank
Public property DimBlockId Sets or gets an ObjectId of the BlockTableRecord object associated with the dimension entity.
Public property DimBlockPosition Sets or gets the WCS relative position of the block that is associated with the dimension entity.
Public property Dimcen Controls the generation of arc and circle center marks and lines. The absolute value of Dimcen specifies the size of the center mark, which half the length of the center mark, which is also the length of the portion of a center line beyond the arc or circle, as well as the length of the gap between the center mark and line.
Public property Dimclrd Sets or gets the color for the leader line, arrowheads, and both dimension lines and their extensions.
Public property Dimclre Sets or gets the color for the extension lines.
Public property Dimclrt Sets or gets the color of the dimension text.
Public property Dimdec Sets or gets the number of decimal places in the primary measured value and tolerance.
Public property Dimdle Sets or gets the length of the distance that dimension lines are extended beyond extension lines.
Public property Dimdli Sets or gets distance between dimension lines for baseline dimensions.
Public property Dimdsep Sets or gets the character to use as the decimal separator as a char value.
Public property DimensionStyle Sets or gets the ObjectId for the DimStyleTableRecord object associated with the Dimension object.
Public property DimensionStyleName Gets or sets the name of a dimension style. Setting the DimensionStyleName assigns the DimensionStyle of this style name to the dimension if the style exists, or an exception will be thrown if there is no style with such name.
Public property DimensionText Sets or gets the text string that replaces the measured value. If the DimensionText property is an empty string, which is the default value, the dimension entity represents the measured value.
Public property Dimexe Sets or gets the length of the distance that extension lines are extended beyond dimension lines.
Public property Dimexo Sets or gets the distance that extension lines are offset from their origin points. Dimexo specifies a minimum value when fixed-length extension lines are used.
Public property Dimfrac Sets or gets the fractional format.
Public property Dimfxlen Sets or gets the length of extension lines. The extension line length is the distance between the beginning of an extension line and the cross-point with a dimension line. The extension and offset are not included in the length. If the extension line length is a negative value, extension lines are drawn from the outside to the cross-points with dimension lines, towards the extension points.
Public property DimfxlenOn Sets or gets whether extension lines have a fixed length.
Public property Dimgap Sets or gets the distance between the dimension text box and the dimension, extension, or leader line according to the text position and text movement.
Public property Dimjogang Sets and gets the jog angle of dimension lines in jogged radius dimensions.
Public property Dimjust Sets or gets the horizontal justification for the dimension text box (relative to the extension lines).
Value Description
0 The text is centered within the extension lines.
1 The text is by the first extension line.
2 The text is by the second extension line.
3 The text is above the dimension line, parallel to the first extension line.
4 The text is above the dimension line, parallel to the second extension line.
Public property Dimldrblk Sets or gets the arrowhead block at the ends of leader lines. A null value specifies the default arrowhead is to be used.
Public property Dimldrblks Sets or gets the name of the arrowhead block at the ends of leader lines. The following names are applicable:
Value Description
"None" None
"Closed" Closed
"Dot" Dot
"ClosedBlank" Closed blank
"Oblique" Oblique
"ArchTick" Architectural tick
"Open" Open
"Origin" Origin marker
"Origin2" Origin marker 2
"Open90" Open 90 degrees
"Open30" Open 30 degrees
"DotBlank" Dot blank
"DotSmall" Dot small
"BoxFilled" Box filled
"BoxBlank" Box blank
"DatumFilled" Datum marker filled
"DatumBlank" Datum marker blank
"Integral" Integral
"Small" Dot small blank
Public property Dimlfac Sets or gets the linear scale factor, a positive non-zero Double value, that influences the measured value.
Public property Dimlim Sets or gets whether the limits are generated as the dimension text.
Public property Dimltex1 Sets or gets the linetype of the first extension line.
Public property Dimltex2 Sets or gets the linetype of the second extension line.
Public property Dimltype Sets or gets the linetype of the leader line, both dimension lines, and their extensions.
Public property Dimlunit  
Public property Dimlwd Sets or gets the lineweight for the leader line, both dimension lines, and their extensions.
Public property Dimlwe Sets or gets the lineweight assigned to both the first and second extension lines.
Public property Dimpost Sets or gets a text suffix or prefix or both for dimension primary measurements. Dimpost is in the form prefix<>suffix. The '<>' in Dimpost is replaced by the primary measurements text.
Public property Dimrnd Sets or gets the real number to round the primary measured values (not tolerance values). For example, if the rounding is set to 0.04, the value will be rounded to the nearest 0.04 unit. Thus, 1.912 becomes 1.92, 1.935 becomes 1.92, 1.945 becomes 1.96, and 1.972 becomes 1.96. If the rounding is set to 1.0, the value will be rounded to the nearest integer value.
Public property Dimsah Sets and gets whether blocks set by the Dimblk1 and Dimblk2 or a block set by the Dimblk are used as the arrowheads for the dimension lines.
Public property Dimscale Sets and gets the scale factor applied to all dimension variables that regulates sizes, offsets, and distances. The scale factor does not affect the measured lengths, angles, or coordinates.
Public property Dimsd1 Controls the suppression of the first dimension line and arrowhead in dimensions.
Public property Dimsd2 Controls the suppression of the second dimension line and arrowhead in dimensions.
Public property Dimse1 Controls the suppression of the first extension line dimensions.
Public property Dimse2 Controls the suppression of the second extension line dimensions.
Public property Dimsoxd Controls the suppression of dimension lines outside the extension lines.
Public property Dimtad Sets or gets the vertical justification for the dimension text.
Value Description
0 The dimension text is centered vertically between two parts of the dimension line.
1 The dimension text is placed above the dimension line, except when the dimension line is not horizontal and the dimension text box is aligned horizontally.
2 The dimension text box is placed on the side of the dimension line farthest from the defining point.
3 The dimension text is positioned according to Japanese Industrial Standards.
4 The dimension text is placed under the dimension line.
Public property Dimtdec Sets or gets the number of decimal places in tolerance values for primary units in dimensions.
Public property Dimtfac Sets or gets as a factor of Dimtxt, the size of tolerance text in dimensions.
Public property Dimtfill Sets or gets the background fill of dimension text.
Value Description
0 No background.
1 The background color of the drawing.
2 The background is filled with the color set by the Dimtfillclr property.
Public property Dimtfillclr Sets or gets the background color to fill a dimension text box.
Public property Dimtih Sets or gets the orientation of dimension text inside the extension lines. If the Dimtih property is true, the dimension text box is horizontally aligned. If Dimtih is false, the dimension text box is aligned with the dimension line or leader line.
Public property Dimtix Sets or gets the placement of a dimension text box between the extension lines of a dimension entity. If the Dimtix property is true, the dimension text box is required to be placed between extension lines. If Dimtix is false, the dimension text box is placed between extension lines only if there is sufficient space.
Public property Dimtm Sets or gets the lower tolerance limit for dimensions.
Public property Dimtmove Sets or gets the method of movement for a dimension text box and dimension lines relative to one to another while dragging.
Value Description
0 The dimension lines and dimension text box move together.
1 The dimension lines and dimension text box move independently and are connected with a leader.
2 The dimension lines and dimension text box move independently and a leader line is not drawn.
Public property Dimtofl Controls the drawing of a forced line inside extension lines or the definition entity when dimension lines are placed outside of the extension lines or definition entity. This property is true if a forced line is drawn inside (dimension lines are connected) or false if a forced line is not drawn (dimension lines are open-ended).
Public property Dimtoh Controls the orientation of dimension text outside the extension lines or definition entity. If Dimtoh property is true, the dimension text box is horizontally aligned when it is placed outside the extension lines or definition entity. If Dimtoh property is false, the dimension text box is aligned along the dimension line or leader line.
Public property Dimtol Controls the generation of tolerance text in dimensions.
Public property Dimtolj Sets or gets the vertical justification of the tolerance text box relative to the dimension text box.
Value Description
0 Bottom.
1 Middle.
2 Top.
Public property Dimtp Sets or gets the upper tolerance limit for dimensions.
Public property Dimtsz Sets or gets the size of oblique strokes to be drawn instead of arrowheads for linear, radial, and diameter dimensions. Dimtsz is the distance, parallel to the dimension line, that the tics extend beyond the extension lines. If Dimtsz = 0, the arrowheads will be drawn. Positive values determine the size of oblique strokes.
Public property Dimtvp Sets or gets, as a factor of Dimtxt, the vertical distance of the middle of the dimension text with respect to the dimension line.
Public property Dimtxt Sets or gets the dimension text size.
Public property Dimtzin Sets or gets the suppression of zeros in primary tolerance values in dimension.
Value Description
0 Suppresses zero feet and zero inches.
1 Includes zero feet and zero inches.
2 Suppresses zero inches and includes zero feet.
3 Suppresses zero feet and includes zero inches.
4 Suppresses leading zeros.
8 Suppresses trailing zeros.
12 Suppresses both leading and trailing zeros.
Public property Dimupt Controls the movement of user-positioned text when dimension lines are moved. Dimupt is true if the dimension line and the text move, and false if only the dimension line moves.
Public property Dimzin Sets or gets the suppression of zeros in primary measured values.
Public property Drawable Property that represents a drawable that is associated with this object.
(Inherited from DBObject)
Public property DrawableType
(Inherited from Drawable)
Public property DynamicDimension Sets or gets whether the dimension entity is a dynamic dimension.
Public property Ecs Property that represents the entity coordinate system matrix.
(Inherited from Entity)
Public property EdgeStyleId Property that represents an object identifier of an edge style.
(Inherited from Entity)
Public property Elevation Sets or gets the elevation of this entity. Elevation is the distance from the WCS origin to the plane of this entity.
Public property EntityColor Property that represents an entity color value for this entity.
(Inherited from Entity)
Public property ExtensionDictionary
(Inherited from DBObject)
Public property FaceStyleId Property that represents an object identifier of a face style.
(Inherited from Entity)
Public property ForceAnnoAllVisible
(Inherited from Entity)
Public property GeometricExtents Property that represents geometric extents for this entity.
(Inherited from Entity)
Public property Handle
(Inherited from DBObject)
Public property HasFields
(Inherited from DBObject)
Public property HasSaveVersionOverride
(Inherited from DBObject)
Public property HorizontalRotation Sets or gets the rotation angle of a dimension entity in the range from 0 to 2*PI radians.
Public property Hyperlinks Property that represents a collection of hyperlinks associated with this entity.
(Inherited from Entity)
Public property Id Property that represents an object identifier of this database object.
(Inherited from DBObject)
Public property IsAProxy
(Inherited from DBObject)
Public property IsCancelling
(Inherited from DBObject)
Public property IsDisposed
(Inherited from DisposableWrapper)
Public property IsErased
(Inherited from DBObject)
Public property IsEraseStatusToggled
(Inherited from DBObject)
Public property IsModified
(Inherited from DBObject)
Public property IsModifiedGraphics
(Inherited from DBObject)
Public property IsModifiedXData
(Inherited from DBObject)
Public property IsNewObject
(Inherited from DBObject)
Public property IsNotifyEnabled
(Inherited from DBObject)
Public property IsNotifying
(Inherited from DBObject)
Public property IsObjectIdsInFlux
(Inherited from DBObject)
Public property IsPersistent Property that indicates whether this object is a database-resident (DBRO). Persistent objects belong to an object that must be opened and closed. Non-persistent objects can be accessed through their pointers.
(Inherited from DBObject)
Public property IsPlanar Property that indicates whether this entity is planar.
(Inherited from Entity)
Public property IsReadEnabled
(Inherited from DBObject)
Public property IsReallyClosing
(Inherited from DBObject)
Public property IsTransactionResident
(Inherited from DBObject)
Public property IsUndoing
(Inherited from DBObject)
Public property IsWriteEnabled
(Inherited from DBObject)
Public property Layer Property that represents a layer name for this entity.
(Inherited from Entity)
Public property LayerId Property that represents an object identifier of a layer for this entity.
(Inherited from Entity)
Public property Linetype Property that represents the linetype attribute for this entity.
(Inherited from Entity)
Public property LinetypeId Property that represents a linetype attribute for this entity.
(Inherited from Entity)
Public property LinetypeScale Property that represents a scale factor of a linetype for this entity.
(Inherited from Entity)
Public property LineWeight Property that represents a lineweight attribute for this entity.
(Inherited from Entity)
Public property Material Property that represents a material for this entity.
(Inherited from Entity)
Public property MaterialId Property that represents an object identifier of a material for this entity.
(Inherited from Entity)
Public property MaterialMapper Property that represents a material mapper for this entity.
(Inherited from Entity)
Public property Measurement Stores the measured value in the specified units as a Double value. For linear dimensions it is a length, for angular dimensions it is an angle.
Public property MergeStyle
(Inherited from DBObject)
Public property Normal Sets or gets the three-dimensional WCS coordinates of the normal vector.
Public property ObjectBirthVersion
(Inherited from DBObject)
Public property ObjectId
(Inherited from DBObject)
Public property OwnerId
(Inherited from DBObject)
Public property PaperOrientation
(Inherited from DBObject)
Public property PlotStyleName Property that represents the plot style name for this entity.
(Inherited from Entity)
Public property PlotStyleNameId Property that represents a descriptor of the plot style used for this entity.
(Inherited from Entity)
Public property Prefix Sets or gets the prefix for primary dimension measurements.
Public property ReceiveShadows Property that indicates whether this entity receives shadows.
(Inherited from Entity)
Public property Suffix Sets or gets the suffix for primary dimension measurements.
Public property SuppressAngularLeadingZeros Sets or gets the suppression of leading zeros in angular dimension values.
Public property SuppressAngularTrailingZeros Sets or gets the suppression of trailing zeros in angular dimension values.
Public property SuppressLeadingZeros Sets or gets the suppression of leading zeros in primary dimension values.
Public property SuppressTrailingZeros Sets or gets the suppression of trailing zeros in primary dimension values.
Public property SuppressZeroFeet Sets or gets the suppression of zero-foot measurements in primary dimension values.
Public property SuppressZeroInches Sets or gets the suppression of zero-inch measurements in primary dimension values.
Public property TextAttachment Sets or gets the dimension text justification mode within the text box.
Public property TextLineSpacingFactor Sets or gets the relative distance between adjoining base lines of text strings. The line spacing factor can have a value in the range of 0.25 to 4.0.
Public property TextLineSpacingStyle Sets or gets the dimension text line spacing style for this Dimension object.
Public property TextPosition Sets or gets the three-dimensional coordinates of the text position as a Point3d value.
Public property TextRotation Sets or gets the rotation angle of a dimension text box in radians.
Public property TextStyleId Sets or gets the text style of the dimension text.
Public property ToleranceSuppressLeadingZeros Sets or gets the suppression of leading zeros for tolerance values in primary dimension values.
Public property ToleranceSuppressTrailingZeros Sets or gets the suppression of trailing zeros for tolerance values in primary dimension values.
Public property ToleranceSuppressZeroFeet Sets or gets the suppression of zero-foot measurements for tolerance values in primary dimension values.
Public property ToleranceSuppressZeroInches Sets or gets the suppression of zero-inch measurements for tolerance values in primary dimension values.
Public property Transparency Property that represents the transparency attribute for this entity.
(Inherited from Entity)
Public property UndoFiler
(Inherited from DBObject)
Public property UnmanagedObject
(Inherited from DisposableWrapper)
Public property UsingDefaultTextPosition Defines whether the default position is used for dimension text or not. If true then the default text position is used. To set a new text position, the false value must be set.
Public property Visible Property that indicates whether this entity is visible.
(Inherited from Entity)
Public property VisualStyleId Property that represents an object identifier of a visual style.
(Inherited from Entity)
Public property XData
(Inherited from DBObject)
Top
See Also