Table of Contents

CadStyleSamplePart

from OpenCAD2D import CadStyleSamplePart

class CadStyleSamplePart(System.Object) ยท CadStyleSamplePart in the .NET reference

One part of one dimension of a CadStyleSample: its entities.

Properties and fields

Dimension

.NET

@property
def Dimension(self) -> int

Gets which dimension of the sample it belongs to: 0 for the first drawn, 1 for the next.

Handles

.NET

@property
def Handles(self) -> System.Collections.Generic.IReadOnlyList[str]

Gets the handles of its entities in the sample's drawing, in the order they are drawn.

Part

.NET

@property
def Part(self) -> CadStylePart

Gets which part of the dimension it is.