CadStylePart
from OpenCAD2D import CadStylePart
class CadStylePart(System.Enum) ยท CadStylePart in the .NET reference
The parts of a sample dimension, leader or multileader that the style previews tell apart: the preview lights the parts a field sets. A dimension's parts are those of its picture (CadStyleSample); the multileader uses CadStylePart.LeaderLine, CadStylePart.Landing, CadStylePart.Text, CadStylePart.Block and CadStylePart.Arrow.
Values
ArcSymbol
ArcSymbol: ClassVar[CadStylePart]
The arc symbol of an arc length dimension (DIMARCSYM).
Arrow
Arrow: ClassVar[CadStylePart]
The arrowhead of a multileader.
Arrow1
Arrow1: ClassVar[CadStylePart]
The first arrowhead (DIMBLK1).
Arrow2
Arrow2: ClassVar[CadStylePart]
The second arrowhead (DIMBLK2).
Block
Block: ClassVar[CadStylePart]
The block a multileader points to.
CentreMark
CentreMark: ClassVar[CadStylePart]
The centre mark or the centre lines of a radius or a diameter (DIMCEN).
DefinitionPoint
DefinitionPoint: ClassVar[CadStylePart]
A definition point (a point on the Defpoints layer); the sample keeps them but the preview does not draw them.
DimensionLine1
DimensionLine1: ClassVar[CadStylePart]
The first half of the dimension line, from the first extension line to the middle (DIMSD1 leaves it out).
DimensionLine2
DimensionLine2: ClassVar[CadStylePart]
The second half of the dimension line, from the middle to the second extension line (DIMSD2 leaves it out).
ExtensionLine1
ExtensionLine1: ClassVar[CadStylePart]
The first extension line (DIMSE1 leaves it out).
ExtensionLine2
ExtensionLine2: ClassVar[CadStylePart]
The second extension line (DIMSE2 leaves it out).
Jog
Jog: ClassVar[CadStylePart]
The jog of a jogged radius, or of a linear dimension (DIMJOGANG).
Landing
Landing: ClassVar[CadStylePart]
The landing (the dogleg) of a multileader.
LeaderArrow
LeaderArrow: ClassVar[CadStylePart]
The arrowhead of a leader drawn by the dimension style (DIMLDRBLK).
LeaderLine
LeaderLine: ClassVar[CadStylePart]
The line of a leader or of a multileader.
Text
Text: ClassVar[CadStylePart]
The words of a dimension or of a multileader.
TextFill
TextFill: ClassVar[CadStylePart]
The fill behind the words of a dimension (DIMTFILL); it is the words' own background, so it shares their entity.
TextFrame
TextFrame: ClassVar[CadStylePart]
The box drawn round the words of a dimension (a DIMGAP below nought).
TextLeader
TextLeader: ClassVar[CadStylePart]
The leader or the landing the words of a dimension are put out on (DIMTMOVE).
Constructors
__init__
def __init__(self, value: int) -> None
Operators and Python protocols
__int__
def __int__(self) -> int