CadDataExtractionRequest
from OpenCAD2D import CadDataExtractionRequest
class CadDataExtractionRequest(System.Object) ยท CadDataExtractionRequest in the .NET reference
What DATAEXTRACTION gives the Data Extraction wizard: the settings it fills, the .dxe file they are saved in, and what was pressed. Select objects in the wizard closes it with CadDataExtractionRequest.IsSelecting set; the command asks "Select objects:" and shows it again with the objects in CadExtractionSettings.SelectedHandles. A test fills it with no window.
Constructors
__init__
def __init__(self, document: CadDocument) -> 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 was pressed: Finish is OK, Cancel is Cancel.
Document
@property
def Document(self) -> CadDocument
Gets the document.
DxeFile
@property
def DxeFile(self) -> str
@DxeFile.setter
def DxeFile(self, value: str | None) -> None
Gets or sets the .dxe file the settings are saved in, offered as the drawing's name in its folder.
IsSelecting
@property
def IsSelecting(self) -> bool
@IsSelecting.setter
def IsSelecting(self, value: bool) -> None
Gets or sets whether the wizard closed for the objects to be selected in the drawing.
Page
@property
def Page(self) -> int
@Page.setter
def Page(self, value: int) -> None
Gets or sets the page the wizard opens at, from nought (Begin) to 7 (Finish); the page it was closed at for the objects to be selected, so that it is shown again there.
Settings
@property
def Settings(self) -> CadExtractionSettings
@Settings.setter
def Settings(self, value: CadExtractionSettings | None) -> None
Gets or sets the settings the wizard collects; new ones as it opens.