Table of Contents

CadBlockEditRequest

from OpenCAD2D import CadBlockEditRequest

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

The Edit Block Definition dialog of BEDIT, and the same window titled Save Block As for BSAVEAS, as data the command and the window share: the block chosen or typed, and what the dialog was closed with.

Constructors

__init__

.NET

def __init__(self, document: CadDocument, title: str, name: str) -> None

Makes the request of a document.

Properties and fields

Action

.NET

@property
def Action(self) -> CadDialogAction
@Action.setter
def Action(self, value: CadDialogAction) -> None

Gets or sets what the window's dialog was closed with; Cancel until set.

Document

.NET

@property
def Document(self) -> CadDocument

Gets the document.

IsSaveAs

.NET

@property
def IsSaveAs(self) -> bool

Gets whether the dialog names a new block for BSAVEAS, so that <Current Drawing> is not listed.

Name

.NET

@property
def Name(self) -> str
@Name.setter
def Name(self, value: str | None) -> None

Gets or sets the name chosen or typed: a block of the drawing, a new name, or <Current Drawing>.

Title

.NET

@property
def Title(self) -> str

Gets the title of the dialog: Edit Block Definition for BEDIT, Save Block As for BSAVEAS.