Runs the dialog loop until aborted or terminated.
This function continuously checks if the dialog is active and waits for user interaction.
planetcnc.dlg_run(handle, sleep_interval=default)
#! /usr/bin/env python import planetcnc # Run an existing dialog with a known handle dialog_handle = "MyDialogHandle" if planetcnc.dlg_is_valid(dialog_handle): while planetcnc.dlg_run(dialog_handle): pass print("Dialog terminated.")