Clears the contents of a custom dialog window.
Removes all elements inside the dialog.
planetcnc.dlg_clear(handle)
#! /usr/bin/env python import planetcnc # Clear an existing dialog with a known handle dialog_handle = "MyDialogHandle" planetcnc.dlg_clear(dialog_handle) print("Dialog cleared.")