PythonPartPreview
Implementation of the PythonPart preview
PythonPartPreview
Canonical path: PythonPartPreview.PythonPartPreview
Implementation of the PythonPart transaction
execute
staticmethod
execute(
doc: DocumentAdapter,
placement_matrix: Matrix3D,
model_ele_list: list[Any],
direct_draw: bool = False,
asso_ref_object: BaseElementAdapter | None = None,
use_system_angle: bool = True,
as_static_preview: bool = False,
)
execute the preview draw
Parameters:
-
doc
(DocumentAdapter
) –document of the Allplan drawing files
-
placement_matrix
(Matrix3D
) –placement matrix
-
model_ele_list
(list[Any]
) –list with the model elements
-
direct_draw
(bool
, default:False
) –direct draw of the preview
-
asso_ref_object
(BaseElementAdapter | None
, default:None
) –associative view reference object
-
use_system_angle
(bool
, default:True
) –use the system angle state
-
as_static_preview
(bool
, default:False
) –draw as static preview state
Placeholder