20.06.2023 - 09:13
					
					
						Uhr 
					
					
                    
                    
                
                
                Hi,
I'm working on Interactor PythonPart scripts who need to keep PythonPart Object.
So, I'm looking on PythonPartTransaction with the following code :
    def create_pythonpart(self):
        """
        Create the PythonPart
        """
        pyp_util = PythonPartUtil()
        pyp_util.add_pythonpart_view_2d3d(self.model_ele_list)
        pyp_transaction = PythonPartTransaction(self.coord_input.GetInputViewDocument())
        pyp_transaction.execute(Geometry.Matrix3D(),
                                self.coord_input.GetViewWorldProjection(),
                                pyp_util.create_pythonpart(self.build_ele),
                                self.modify_uuid_list
                                )It's working great but the PythonPart's origin is still at (0, 0, 0).
How can I fix it ?
Best
 
						