CadGetFileRequest
from OpenCAD2D import CadGetFileRequest
class CadGetFileRequest(System.Object) ยท CadGetFileRequest in the .NET reference
What getfiled hands the window with the GETFILED request: the dialog's title, the starting name, the extensions and AutoCAD's flags. The window puts the path chosen in CadUiRequestEventArgs.Answer, and leaves it null when the user gives up.
Properties and fields
DefaultName
@property
def DefaultName(self) -> str
Gets the file or folder the dialog starts at, as the routine gave it; empty for none.
Extension
@property
def Extension(self) -> str
Gets the extensions offered, without dots, separated by semicolons ("dwg;dxf"); empty for any file.
Flags
@property
def Flags(self) -> int
Gets the flags as AutoCAD reads them: 1 a new file (a save dialog), 4 any extension, 8 the default searched in the library path, 16 the default is a folder, 32 no question before overwriting, 64 and 128 the Internet options.
Title
@property
def Title(self) -> str
Gets the title of the dialog.