Click or drag to resize

DimensionStyleField Enumeration

Field identifiers used for file i/o and getting/setting values

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public enum Field
Members
  Member nameValueDescription
Unset0
Name1Dimension style Name property. Cannot be inherited from parent.
Index2Dimension style runtime model component index property. Cannot be inherited from parent.
ExtensionLineExtension3
ExtensionLineOffset4
Arrowsize5
LeaderArrowsize6
Centermark7
TextGap8
TextHeight9
DimTextLocation10Linear, angular, and ordinate dimension text location above/in/below
MaskFrameType11Text mask frame
LengthResolution12
AngleFormat13
AngleResolution14
Font15
LengthFactor16 LengthFactor is a rarely used. It applies when a model is being drawn to a scale and the dimension length values should be reverse scaled. For example, if a model is drawn at 1/4 scale, a line 5 units long indicates the real world line is 20 units long. In this case setting LengthFactor to 4 would cause a linear dimension applied to that line to display a value of 20.
Alternate17
AlternateLengthFactor18 AlternateLengthFactor is a rarely used. See Length factor for a description of this property.
AlternateLengthResolution20
Prefix21
Suffix22
AlternatePrefix23
AlternateSuffix24
DimensionLineExtension25
SuppressExtension126
SuppressExtension227
ExtLineColorSource28
DimLineColorSource29
ArrowColorSource30
TextColorSource31
ExtLineColor32
DimLineColor33
ArrowColor34
TextColor35
ExtLinePlotColorSource36
DimLinePlotColorSource37
ArrowPlotColorSource38
TextPlotColorSource39
ExtLinePlotColor40
DimLinePlotColor41
ArrowPlotColor42
TextPlotColor43
ExtLinePlotWeightSource44
DimLinePlotWeightSource45
ExtLinePlotWeight_mm46
DimLinePlotWeight_mm47
ToleranceFormat48
ToleranceResolution49
ToleranceUpperValue50
ToleranceLowerValue51
AltToleranceResolution52
ToleranceHeightScale53
BaselineSpacing54
DrawMask55
MaskColorSource56
MaskColor57
MaskBorder58
DimensionScale59
DimscaleSource60
FixedExtensionLength61
FixedExtensionOn62
TextRotation63
SuppressArrow164
SuppressArrow265
TextmoveLeader66
ArclengthSymbol67
StackTextheightScale68
StackFormat69
AltRound70
Round71
AngularRound72
AltZeroSuppress73
AngleZeroSuppress75
ZeroSuppress76
AltBelow77
ArrowType178
ArrowType279
LeaderArrowType80
ArrowBlockId181
ArrowBlockId282
LeaderArrowBlock83
DimRadialTextLocation84Radial dimension text location above/in/below
TextVerticalAlignment85
LeaderTextVerticalAlignment86
LeaderContentAngleStyle87
LeaderCurveType88
LeaderContentAngle89
LeaderHasLanding90
LeaderLandingLength91
MaskFlags92
CentermarkStyle93
TextHorizontalAlignment94
LeaderTextHorizontalAlignment95
DrawForward96
SignedOrdinate97
UnitSystem98 Unit system for dimension rendering sizes like TextHeight, TextGap, ArrowSize, ExtOffset, and dozens of other properties that control the appearance and placement of the components used to render a dimension.
TextMask99
TextOrientation100
LeaderTextOrientation101
DimTextOrientation102
DimRadialTextOrientation103
DimTextAngleStyle104
DimRadialTextAngleStyle105
TextUnderlined106
DimensionLengthDisplay109 Dimension length display. See ON_DimStyle::DimensionLengthDisplay() for a description of this parameter.
AlternateDimensionLengthDisplay110 Alternate dimension length display. See ON_DimStyle::AlternateDimensionLengthDisplay() for a description of this parameter.
ForceDimLine111 Force dimension line to draw when text is moved outside
ArrowFit112 Arrow position when arrows won't fit between extensions
TextFit113 Text position when text won't fit between extensions
DecimalSeparator114 Character to use for decimal separator in dimension text
Count115Every enum UINT value that identifies a valid dimension style property is less than the UINT value of Count.
See Also