single Placement: automatically show placement dialog after creation

This commit is contained in:
DeepSOIC 2016-01-30 01:53:48 +03:00
parent 0989ae00d8
commit f6c63427a6

View File

@ -233,6 +233,8 @@ class _CommandPlacement:
def Activated(self):
CreateLatticePlacement(name= "Placment", mode= self.mode)
if self.mode == "Custom":
FreeCADGui.runCommand("Std_Placement")
def IsActive(self):
if FreeCAD.ActiveDocument: