Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

How to get a text file of Fusion 360 workspace

Anonymous

How to get a text file of Fusion 360 workspace

Anonymous
Not applicable

Hello, is it possible to get a text file of the workspace in Fusion 360 that has details of what objects are where, and if possible, on one particular height?
For example, something like this, where "e" is empty space, and "b" is a brep body:

 

FusionTextFileExample.png

 

Is this currently possible?

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

ekinsb
Alumni
Alumni
Accepted solution

If I understand what it is you want to do it should be possible to write a script that does it.  I think you're basically dividing up a portion of the modeling space into a grid and then need to check and see if any body contains each of those grid points. The complexity of the program would vary quite a bit if you have a known or selected body you want to get this information for.  Otherwise there would be some more work to get all of the bodies and find those that would be within the grid area.  The main function you'll need is the BRepBody.pointContainment method. This will tell you if a coordinate is inside, outside, or on a specific body.

 

  


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
0 Likes