PythonPartUtilΒΆ
The PythonPartUtil class is used to create the PythonPart as follows
from PythonPartUtil import PythonPartUtil
...
view_ele_3d = []
polyhed = ...
...
pyp_util = PythonPartUtil()
pyp_util.add_pythonpart_view_2d3d(AllplanBasisElements.ModelElement3D(com_prop, polyhed))
pyp_util.add_pythonpart_view_3d(view_ele_3d)
model_ele_list = pyp_util.create_pythonpart(build_ele)
The complete documentation of the members from the PythonPartUtil class can be found here: