Initializes an existing custom dialog window.
Associates the dialog with the current script path.
planetcnc.dlg_init(handle)
#! /usr/bin/env python import planetcnc # Initialize an existing dialog with a known handle dialog_handle = "MyDialogHandle" initialized_handle = planetcnc.dlg_init(dialog_handle) if initialized_handle: print("Dialog initialized with handle:", initialized_handle) else: print("Failed to initialize dialog.")