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__
def __init__(self, document: CadDocument, title: str, name: str) -> None
Makes the request of a document.
Properties and fields
Action
@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
@property
def Document(self) -> CadDocument
Gets the document.
IsSaveAs
@property
def IsSaveAs(self) -> bool
Gets whether the dialog names a new block for BSAVEAS, so that <Current Drawing> is not listed.
Name
@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
@property
def Title(self) -> str
Gets the title of the dialog: Edit Block Definition for BEDIT, Save Block As for BSAVEAS.