Print a short message when doing a recomputation, this method is mandatory
(self, fp)
| 28 | FreeCAD.Console.PrintMessage("Change property: " + str(prop) + "\n") |
| 29 | |
| 30 | def execute(self, fp): |
| 31 | ''' Print a short message when doing a recomputation, this method is mandatory ''' |
| 32 | FreeCAD.Console.PrintMessage("Recompute Python Box feature\n") |
| 33 | fp.Shape = Part.makeBox(fp.Length,fp.Width,fp.Height) |
| 34 | |
| 35 | class ViewProviderBox: |
| 36 | def __init__(self, obj): |