Table of Contents

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

.NET

@property
def Count(self) -> int

Gets how many objects of the type the sources hold; nought for a block defined and not inserted.

HasAttributes

.NET

@property
def HasAttributes(self) -> bool

Gets whether a block of the type has attributes.

IsBlock

.NET

@property
def IsBlock(self) -> bool

Gets whether the type is a block.

Name

.NET

@property
def Name(self) -> str

Gets the type's name as the page lists it: Line, Polyline, or a block's name.

Methods

ToString

.NET

def ToString(self) -> str

Gives the type as its name.