Table of Contents

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

.NET

ArcSymbol: ClassVar[CadStylePart]

The arc symbol of an arc length dimension (DIMARCSYM).

Arrow

.NET

Arrow: ClassVar[CadStylePart]

The arrowhead of a multileader.

Arrow1

.NET

Arrow1: ClassVar[CadStylePart]

The first arrowhead (DIMBLK1).

Arrow2

.NET

Arrow2: ClassVar[CadStylePart]

The second arrowhead (DIMBLK2).

Block

.NET

Block: ClassVar[CadStylePart]

The block a multileader points to.

CentreMark

.NET

CentreMark: ClassVar[CadStylePart]

The centre mark or the centre lines of a radius or a diameter (DIMCEN).

DefinitionPoint

.NET

DefinitionPoint: ClassVar[CadStylePart]

A definition point (a point on the Defpoints layer); the sample keeps them but the preview does not draw them.

DimensionLine1

.NET

DimensionLine1: ClassVar[CadStylePart]

The first half of the dimension line, from the first extension line to the middle (DIMSD1 leaves it out).

DimensionLine2

.NET

DimensionLine2: ClassVar[CadStylePart]

The second half of the dimension line, from the middle to the second extension line (DIMSD2 leaves it out).

ExtensionLine1

.NET

ExtensionLine1: ClassVar[CadStylePart]

The first extension line (DIMSE1 leaves it out).

ExtensionLine2

.NET

ExtensionLine2: ClassVar[CadStylePart]

The second extension line (DIMSE2 leaves it out).

Jog

.NET

Jog: ClassVar[CadStylePart]

The jog of a jogged radius, or of a linear dimension (DIMJOGANG).

Landing

.NET

Landing: ClassVar[CadStylePart]

The landing (the dogleg) of a multileader.

LeaderArrow

.NET

LeaderArrow: ClassVar[CadStylePart]

The arrowhead of a leader drawn by the dimension style (DIMLDRBLK).

LeaderLine

.NET

LeaderLine: ClassVar[CadStylePart]

The line of a leader or of a multileader.

Text

.NET

Text: ClassVar[CadStylePart]

The words of a dimension or of a multileader.

TextFill

.NET

TextFill: ClassVar[CadStylePart]

The fill behind the words of a dimension (DIMTFILL); it is the words' own background, so it shares their entity.

TextFrame

.NET

TextFrame: ClassVar[CadStylePart]

The box drawn round the words of a dimension (a DIMGAP below nought).

TextLeader

.NET

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