modify with QtDesigner , convert your .ui in .py, edit your file .py with Notepad++ (or other) copy only your modifications and paste it to your macro and work....
Code: Select all
FreeCAD.ActiveDocument.getObjectsByLabel("Cylindre")[0].Placement.Base)
FreeCAD.ActiveDocument.getObjectsByLabel("Cylindre")[0].Placement.Rotation.Angle)