Share

acedInitDialog

C++

Adesk::Boolean acedInitDialog(
    Adesk::Boolean useDialog = Adesk::kTrue
);

File

aced.h

Description

This function sets an internal flag in AutoCAD so that when a command that has a dialog that is normally not activated by LISP (such as the PLOT command) is run, the dialog will be activated rather than using the command line interface.

If useDialog is Adesk::kTrue, then the next use (and next use only) of the command (such as PLOT) when run from LISP or ObjectARX, will display the command's dialog rather than its command line prompts.

If useDialog is Adesk::kFalse, then any previous call to this function (or the LISP (initdia) function) to tell AutoCAD to display dialogs will be cleared so that the default behavior of presenting the command line interface will be restored.

Returns the value that the internal flag was set to before this function was called.

Parameters

Parameters Description
useDialog Input Boolean to indicate whether to activate the dialog

Was this information helpful?