Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do I access the components of the Manufacturing Models?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
salvador
118 Views, 1 Reply

How do I access the components of the Manufacturing Models?

I successfully obtained the CAM object 
    cam = adsk.cam.CAM.cast(product)
 
I found that cam.designRootOccurrence.component.allOccurrences gives me access to
the components as seen in the Design workspace but I want to gain access
to the components with further operation applied to them in the Manufacture 
workspace.
1 REPLY 1
Message 2 of 2
BrianEkins
in reply to: salvador

API support for CAM is currently lacking and the use of the Design model in CAM is one of the big holes. This has caused problems for me in the past with projects I've worked on so I hope it is addressed soon.

 

By the way, the designRootOccurrence property is not officially supported and I'm guessing will disappear at some point in the future once the supported interface becomes available.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report