Allow ProgGroup Item AutoPosition from Python

This commit is contained in:
WandererFan
2018-02-09 12:04:09 -05:00
committed by wmayer
parent 1909466241
commit 4f291f7305
9 changed files with 70 additions and 27 deletions

View File

@@ -69,6 +69,10 @@ def DProjGroupTest():
print("recomputing document")
FreeCAD.ActiveDocument.recompute()
for v in group.Views:
print ("View: " + v.Label + " " + v.TypeId)
v.autoPosition()
rc = False
if ("Up-to-date" in group.State):
rc = True