Hi,
Below mentioned methods are not documented at https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-CACDFC5C-5339-4A9A-A9C3-3F645AC3A3D0
// Returns the occurrence that references the design root component in the CAM product.
core::Ptr<fusion::Occurrence> designRootOccurrence() const;
// Returns a read-only list of flat pattern occurrences in CAM product.
core::Ptr<fusion::OccurrenceList> flatPatternOccurrences() const;
We can get valid Occurrence for designRootOccurrence but when method flatPatternOccurrences is called it always returns empty OccurrenceList. We tried it for different models but could not get valid results. Are we missing something here? Can you please let us know how we can query root occurrence in CAM?
Solved! Go to Solution.
Solved by BrianEkins. Go to Solution.
Solved by MattWynn. Go to Solution.
If things are not documented they are not guaranteed to work.
I have no experience using the CAM API, but AFAIK there is no way to get sheet metal flat patterns from Fusion API.
Matt's correct. Anything not documented is not supported, which means it may not work and could go away at any time. There is still a lot of functionality that's missing in the CAM API. Hopefully, it will be enhanced in the not to distant future.
Can't find what you're looking for? Ask the community or share your knowledge.