BaseScriptObjectData
dataclass
Canonical path: BaseScriptObject.BaseScriptObjectData
implementation of the data class for the script object interactor
Attributes:
-
control_props_util
(ControlPropertiesUtil
) –Utility for altering the properties of palette controls
-
coord_input
(CoordinateInput
) –Object representing user's input in Allplan Viewport
-
exec_palette_update
(Callable[[], None] | None
) –Execute the palette update
-
exec_switch_pythonpart
(Callable[[str, bool], None] | None
) –Switch to PythonPart
-
execution_event
(ExecutionEvent
) –execution event
-
is_only_update
(bool
) –True, when the script execution was triggered by a PythonPart update
-
modification_ele_list
(ModificationElementList
) –List with UUIDs of modified elements
-
modification_matrix
(Matrix3D
) –Modification matrix
-
org_and_copy_ele_guids
(dict[str, str]
) –Map of GUIDs for original and copy elements, for the case when python part was called by copy function.
control_props_util
instance-attribute
control_props_util: ControlPropertiesUtil
Utility for altering the properties of palette controls
coord_input
instance-attribute
coord_input: CoordinateInput
Object representing user's input in Allplan Viewport
exec_palette_update
instance-attribute
Execute the palette update
exec_switch_pythonpart
instance-attribute
Switch to PythonPart
Parameters:
-
file_name
–file name of the PythonPart
-
add_current_to_stack
–add the current pyp file to the stack
is_only_update
instance-attribute
True, when the script execution was triggered by a PythonPart update
modification_ele_list
instance-attribute
modification_ele_list: ModificationElementList
List with UUIDs of modified elements