CadExtractionType
from OpenCAD2D import CadExtractionType
class CadExtractionType(System.Object) ยท CadExtractionType in the .NET reference
An object type of the Select Objects page: a kind of object (Line, Circle) or a block's name, with how many there are.
Properties and fields
Count
@property
def Count(self) -> int
Gets how many objects of the type the sources hold; nought for a block defined and not inserted.
HasAttributes
@property
def HasAttributes(self) -> bool
Gets whether a block of the type has attributes.
IsBlock
@property
def IsBlock(self) -> bool
Gets whether the type is a block.
Name
@property
def Name(self) -> str
Gets the type's name as the page lists it: Line, Polyline, or a block's name.
Methods
ToString
def ToString(self) -> str
Gives the type as its name.