Can the new TemporaryBRepManager be used to add a body into a parametric design?

Can the new TemporaryBRepManager be used to add a body into a parametric design?

Anonymous
357 Views
0 Replies
Message 1 of 1

Can the new TemporaryBRepManager be used to add a body into a parametric design?

Anonymous
Not applicable

The new TemporaryBRepManager is intriguing but if I can't use it to put a body into a parametric design it will be of extremely limited use for me (and I suspect most others as well). I'm not sure I'd be willing to go through the learning and implementation process to use it for injecting "custom graphics" alone - but I might still find uses for it someday.

 

I tried using a "BaseFeature" but I believe it is still parametric and the error I got was less than helpful 😛

Failed:
Traceback (most recent call last):
  File "E:/Archive/Programming/Fusion360 Scripts/ScratchPad/ScratchPad.py", line 268, in run
    bodies.add(box)
  File "C:/Users/Ens/AppData/Local/Autodesk/webdeploy/production/2fc56ab2b960a23a37c37a3688c13a7f7fa1ecc7/Api/Python/packages\adsk\fusion.py", line 3679, in add
    return _fusion.BRepBodies_add(self, *args)
RuntimeError: 3 : Adding a body is only allowed via a BRepBodies object from a component
0 Likes
358 Views
0 Replies
Replies (0)