Table of Contents

CadAttextRequest

from OpenCAD2D import CadAttextRequest

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

What ATTEXT gives its Attribute Extraction dialog: the file format, the objects selected (none for every block of the drawing), the template and output files. Select Objects closes the dialog with CadAttextRequest.IsSelecting set, ATTEXT then asks "Select objects:" and shows it again with the objects found; OK writes the extract as -ATTEXT does.

Constructors

__init__

def __init__(self) -> None

Properties and fields

Format

.NET

@property
def Format(self) -> CadAttextFormat
@Format.setter
def Format(self, value: CadAttextFormat) -> None

Gets or sets the file format; CDF to start with.

IsAccepted

.NET

@property
def IsAccepted(self) -> bool
@IsAccepted.setter
def IsAccepted(self, value: bool) -> None

Gets or sets whether the dialog closed with OK.

IsSelecting

.NET

@property
def IsSelecting(self) -> bool
@IsSelecting.setter
def IsSelecting(self, value: bool) -> None

Gets or sets whether the dialog closed for its Select Objects button.

OutputFile

.NET

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

Gets or sets the output file; the drawing's name with .txt, or .dxx for DXF, to start with.

Selected

.NET

@property
def Selected(self) -> System.Collections.Generic.IReadOnlyList[str] | None
@Selected.setter
def Selected(self, value: System.Collections.Generic.IReadOnlyList[str] | None) -> None

Gets or sets the handles of the objects selected; null for the whole drawing.

TemplateFile

.NET

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

Gets or sets the template file, which a CDF or SDF extract needs.