Example #1
0
 def Activated(self):
     import pipeCmd
     FreeCAD.activeDocument().openTransaction('Mate')
     pipeCmd.alignTheTube()
     FreeCAD.activeDocument().commitTransaction()
     FreeCAD.activeDocument().recompute()
Example #2
0
 def Activated (self):
   import pipeCmd
   FreeCAD.activeDocument().openTransaction('Mate')
   pipeCmd.alignTheTube()
   FreeCAD.activeDocument().commitTransaction()
   FreeCAD.activeDocument().recompute()