Table of Contents

CadBlockObjectAction

from OpenCAD2D import CadBlockObjectAction

class CadBlockObjectAction(System.Enum) ยท CadBlockObjectAction in the .NET reference

What BLOCK and WBLOCK do with the objects a block is made of: AutoCAD's Retain, Convert to block and Delete.

Values

ConvertToBlock

.NET

ConvertToBlock: ClassVar[CadBlockObjectAction]

Convert to block: the objects are erased and an INSERT of the new block placed where they were.

Delete

.NET

Delete: ClassVar[CadBlockObjectAction]

Delete: the objects are erased.

Retain

.NET

Retain: ClassVar[CadBlockObjectAction]

Retain: the objects stay as they are.

Constructors

__init__

def __init__(self, value: int) -> None

Operators and Python protocols

__int__

def __int__(self) -> int