API: Read length, height and width

API: Read length, height and width

TPD_Andy
Collaborator Collaborator
783 Views
1 Reply
Message 1 of 2

API: Read length, height and width

TPD_Andy
Collaborator
Collaborator

Does anyone have an idea how I can read the length, height and width of a component via the API? I did not get any further via the physicalProperties. The "description" can be easily read with e.g. "rootComp.description" very easily.

 

My goal is to read the bounding box of a component from the properties. This is automatically created by Fusion360.

I would like to format the read dimensions and set them as a description of the component so that it appears in the parts list.

0 Likes
Accepted solutions (1)
784 Views
1 Reply
Reply (1)