Code: Select all
Ang = App.ActiveDocument.Body001.Placement
print(Ang)
Code: Select all
Placement[Pos=(0,0,0), Yaw-Pitch-Roll=(14,0,0)]
It comes down to how do I read this, the rot.angle:
"doc.getObject(self.partName).Placement = App.Placement(App.Vector(self.obj_x,self.obj_y,0.0),App.Rotation(App.Vector(0,0,0), self.rot_angle))
Thanks