DWG export: Creating blocks out of Components or Bodies?

DWG export: Creating blocks out of Components or Bodies?

Haider_of_Sweden
Collaborator Collaborator
934 Views
3 Replies
Message 1 of 4

DWG export: Creating blocks out of Components or Bodies?

Haider_of_Sweden
Collaborator
Collaborator

Is any of those features supported in scripting?

 

* Export to DWG and turn every Body to a block

* Export to DWG and turn every Component to a block

0 Likes
Accepted solutions (2)
935 Views
3 Replies
Replies (3)
Message 2 of 4

BrianEkins
Mentor
Mentor
Accepted solution

As far as exporting to DWG, the API doesn't support any additional functionality than what you can do using the user interface. I don't believe what you asked for is supported in the UI either.

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

Haider_of_Sweden
Collaborator
Collaborator
Yes, the UI doesn't support this, and that's why I hoped the API might've be of any help.

I just realized: what about exporting to individual DWG files then?

Could this be done with scripting?
0 Likes
Message 4 of 4

Haider_of_Sweden
Collaborator
Collaborator
Accepted solution

Not a scripted or coded solution, but still a solution:

 

Fusion exports Components as AutoCAD blocks. So if I have two Components with a bunch of bodies in each of them, then the DWG will have two Blocks.

 

Or, if you want one block per body, then simply RMB > Create Components from Bodies

Haider_of_Sweden_0-1646918836801.png

 

0 Likes