part size to user parameters

part size to user parameters

MJK_Performance
Advocate Advocate
513 Views
3 Replies
Message 1 of 4

part size to user parameters

MJK_Performance
Advocate
Advocate

ok I am very new to this API stuff... 

 

what I am trying to do is get the  length/width/height (bounding box) of a selected body and have those values set into user parameters so that I can drive a body from that for super easy cam stock.

 

though I am stuck on pretty much all of that...

514 Views
3 Replies
Replies (3)
Message 2 of 4

Phil.E
Autodesk
Autodesk

Hi,

 

I am no API expert, but I found an article that might help.

 

This is from Brian Ekins, perhaps the authority on API in Fusion.

https://modthemachine.typepad.com/my_weblog/2017/06/getting-the-overall-size-of-parts.html%C2%A0

 

Please let me know if this helps or not.

 

Thanks,

 

 





Phil Eichmiller
Software Engineer
Quality Assurance
Autodesk, Inc.


Message 3 of 4

scottmoyse
Mentor
Mentor

That's a cracking resource! @MJK_Performance did you end up getting this sorted?


Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


EESignature


RevOps Strategy Manager at Toolpath. New Zealand based.

Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project

0 Likes
Message 4 of 4

MJK_Performance
Advocate
Advocate

No, my lack of knowledge in python really held me back on this one 

0 Likes