Access sheet metal rules from API?

Access sheet metal rules from API?

p.seem
Advocate Advocate
882 Views
2 Replies
Message 1 of 3

Access sheet metal rules from API?

p.seem
Advocate
Advocate

Is it possible to access the parameters that make up the sheet metal rules from within the API?  I'd like to get the thickness rule for a particular component, but I can't see the parameter in the component or rootCompoment modelParamters list, nor in the design's allParameter's list.

 

In the UI, Thickness appears in Parmaters under Sheet Metal Rules, which are a subset of the modelParamters, so I'm hoping I'm just looking at the wrong level.  Does anyone know if these parameters are accessible from the API, and if, at what hierarchical level I can find them?

 

Thanks,

 

PS

0 Likes
Accepted solutions (1)
883 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor
Accepted solution

Unfortunately, the values in the sheet metal rule aren't regular parameters so they're not accessible through the existing API and not API has been exposed for the sheet metal functionality.

 

The only workaround that I can see for getting the thickness is to evaluate the model to infer the thickness based on the geometry.  If you need to set the thickness, I don't see any workaround for that.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes
Message 3 of 3

amir6P
Community Visitor
Community Visitor

@BrianEkins Has this been any improvement on this? We are trying to flatten bent parts (with step files) programmatically. Our last attempt a couple of years ago failed because of the above issue. Do you happen to have a working script that does what we need?  

0 Likes