Skip to content

DocumentManager

Script for DocumentManager functions

DocumentManager

Canonical path: DocumentManager.DocumentManager

Singleton class for the document manager

asso_ref_element property writable

asso_ref_element: BaseElementAdapter

get the asso_ref element

Returns:

document property writable

document: DocumentAdapter

get the document

Returns:

pythonpart_element property

pythonpart_element: BaseElementAdapter

get the PythonPart element

Returns:

__init__

__init__()

Constructor

Raises:

  • PermissionError

    if no instance exist

clear_asso_ref_element

clear_asso_ref_element()

clear the asso_ref element

clear_pythonpart_element

clear_pythonpart_element()

clear the PythonPart element

get_instance staticmethod

get_instance() -> DocumentManager

Get the one an only instance for the document manager

Returns:

set_pythonpart_element

set_pythonpart_element(modification_ele_list: ModificationElementList)

set the PythonPart element from the model element UUID

Parameters: