Hi,
Thanks for adding examples in LearnNow for ScriptObject
So, I have few questions:
1) Can we have a notification when you add videos? (or maybe I missed it)
2) In modification mode you use
self.modification_ele_list.is_modification_element()why not
self.is_modification_mode
In the main BaseScriptObjectData class it's the same and I think it's more easy to write / read
3) About the placement of the PythonPart, what is the difference between set a transformation matrix (included translation and rotation) with
pythonpart = pyp_util.create_pythonpart(build_ele= self.build_ele, placement_matrix= transformation_matrix)and set a placement point in
CreateElementResultand just the rotation with a matrix?
4) Please can you update the ScriptObjectPythonPart template :
def create_script_object(build_ele : BuildingElement, coord_input: AllplanIFW.CoordinateInput) -> BaseScriptObject ...
to
def create_script_object(build_ele : BuildingElement, script_object_data: BaseScriptObjectData) -> BaseScriptObject ...
ScriptObject is very great PythonPart, so more functionalities for the same writing level as Standard
Best Regards
Christophe