示例#1
0
 def Activated(self):
     import pipeCmd
     FreeCAD.activeDocument().openTransaction('Xtend1int')
     pipeCmd.extendTheTubes2intersection(both=False)
     FreeCAD.activeDocument().recompute()
     FreeCAD.activeDocument().commitTransaction()
示例#2
0
 def Activated (self):
   import pipeCmd
   FreeCAD.activeDocument().openTransaction('Xtend1int')
   pipeCmd.extendTheTubes2intersection(both=False)
   FreeCAD.activeDocument().recompute()
   FreeCAD.activeDocument().commitTransaction()