Login | Sign Up

AutoLISP Function Detail
Name: new_dialog

(new_dialog dlg dcl_id [func [pt]])

Starts up (or initializes) a new occurrence of the dialog box. The name (dlg) that is provided in the file that was loaded by using the load_dialog function. The dcl_id is the number that is returned from the load_dialog function if it is successful. The function is an AutoLISP routine that is run at start up of the dialog box. PT represents the point at which is used for the start up location of the dialog box.

(setq dlg_id (load_dialog "mydlg"))
(new_dialog "my_dlg" dlg_id)