From Macros Wiki
Jump to: navigation, search



DIALOG <dialog filename> [<modal>]

Show a macro dialog. The dialog will be displayed and processing of the current macro will stop until the dialog is closed.


<dialog filename>
Dialog filename. The dialog file must be a text file, it is recommended that the filename suffix ".dlg" is used
<dialog filename>
Modal (0=modeless, 1=modal). Default 1.

A modal dialog stops all other processing until the dialog is closed.
When a a modeless dialog is shown, you can continue to use GibbsCAM (for example, to select geometry) and control will return the the macro when press a command button on the dialog.


DIALOG "MyDialog.dlg"
For an example macro see Create_Contour.mac Geo_Pattern Get_Commands Get_MTM_Data Use_Saved_Process