def Activated(self): import pipeCmd FreeCAD.activeDocument().openTransaction('Mate') pipeCmd.alignTheTube() FreeCAD.activeDocument().commitTransaction() FreeCAD.activeDocument().recompute()
def Activated (self): import pipeCmd FreeCAD.activeDocument().openTransaction('Mate') pipeCmd.alignTheTube() FreeCAD.activeDocument().commitTransaction() FreeCAD.activeDocument().recompute()