DimensionStyle

class rhino3dm.DimensionStyle
DimensionStyle()

DimensionStyle constructor

Name
Font
ArrowBlockId1
ArrowBlockId2
LeaderArrowBlockId
SuppressExtension1
SuppressExtension2
SuppressArrow1
SuppressArrow2
AlternateBelowLine
DrawTextMask
LeaderHasLanding
DrawForward
TextUnderlined
ArrowLength
LeaderArrowLength
CentermarkSize
TextGap
TextHEight
LengthFactor
AlternateLengthFactor
ToleranceUpperValue
ToleranceLowerValue
ToleranceHeightScale
BaselineSpacing
TextRotation
StackHeightScale
LeaderLandingLength
HasFieldOverrides

bool: Checks if any fields in this DimensionStyle are overrides

IsChild

bool: Tests if this DimensionStyle is a child of any other DimensionStyle

ParentId

Guid: Get or Set the Id of this DimensionStyle’s parent. If ParentId is Guid.Empty, this DimensionStyle has no parent

ScaleLengthValues(scale)

Scales all length values by ‘scale’

Return type:void
IsFieldOverridden(field)

[todo] add documentation

SetFieldOverride(field)

Set a field as overridden

Return type:void
ClearFieldOverride(field)

Set the field as not overridden

Return type:void
ClearAllFieldOverrides()

Sets all the fields in this DimensionStyle to be not overridden Does not change any dimstyle_id’s or parent_id’s

Return type:void
IsChildOf(id)

Tests if this DimensionStyle is a child of a specific DimensionStyle

Returns:True if this is a child of the DimensionStyle with Parent False otherwise.
Return type:bool