single Placement: automatically show placement dialog after creation
This commit is contained in:
parent
0989ae00d8
commit
f6c63427a6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user