Table of Contents

Class CadUiRequestEventArgs

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

A request of a command to the window: open Properties, the Layer manager, Global settings, save, or show a drawing RECOVER opened.

public sealed class CadUiRequestEventArgs : EventArgs
Inheritance
CadUiRequestEventArgs
Inherited Members

Properties

Answer

Gets or sets what the window's dialog answered, for a command that goes on with it: for PASTESPEC the paste chosen, PASTECLIP, PASTEBLOCK, PASTEORIG or TEXT; for REDEFINE Yes or No; for QSELECT "Select objects" where Quick Select's button of that name closed it, so that the command asks the objects and shows it again; for GETFILED the path chosen, the value getfiled gives; null where it was cancelled or asks nothing.

Document

Gets the document to show, for RECOVER the drawing recovered; null for the other requests.

Export

Gets the file EXPORT or -EXPORT asks for, the Payload of those requests; null for every other request.

GetFile

Gets what AutoLISP's getfiled asks, the Payload of the GETFILED request; null for every other request.

Handled

Gets or sets whether the window did what was asked; a LAYER not handled runs its prompts on the command line.

Image

Gets the image PNGOUT, JPGOUT or BMPOUT hands the window, the Payload of those requests and of IMAGEOUT; null for every other request.

Name

Gets what is asked: PROPERTIES, LAYER, OPTIONS, QSAVE, RECOVER, PLOT, PREVIEW, PAGESETUP, -PLOT to write a plot to a file, PNGOUT, JPGOUT or BMPOUT for the file of an image, IMAGEOUT to draw the image and write it, EXPORT or -EXPORT for the file of an export, or MATCHPROP for its Property Settings dialog, which sets the session's MatchProperties; or ALERT, a message AutoLISP's alert asks the window to show with an OK button, its text the Payload: a window that shows it sets Handled, and a command line with no window writes the text as lines; or GETFILED, the file dialog AutoLISP's getfiled asks the window to show, its CadGetFileRequest the Payload (GetFile): a window that shows it sets Handled and puts the path chosen in Answer.

Payload

Gets what the command hands its dialog, which the window fills and closes with an action: a CadBlockDefinitionRequest for BLOCK, CadInsertRequest for INSERT, CadWriteBlockRequest for WBLOCK, CadAttributeDefinitionRequest for ATTDEF and CadAttributeEditRequest for EATTEDIT, CadAttributeManagerRequest for BATTMAN, CadAttributeValuesRequest for ATTDIA (the Edit Attributes dialog of INSERT), CadPurgeRequest for PURGE and CadGroupManagerRequest for CLASSICGROUP; for REDEFINE, which INSERT asks when the block chosen from another drawing has a namesake in this one, the name of the block, "Yes" in Answer redefining it; for PURGEITEM, which PURGE asks before each object it purges, the question, "Yes" or "No" in Answer, null stopping the purge; for ALERT the text of the message; null for the other requests.

Plot

Gets the plot PLOT, PREVIEW, PAGESETUP or -PLOT hands the window, the Payload of those requests; null for every other request.