question

ruben.f avatar image
0 Likes"
ruben.f asked Sam Stubbs edited

Exporting 3D Layout to CAD program

Is it possible to export a 3D Layout from FlexSim to another format readable by a CAD Program?

FlexSim 16.0.1
export
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Sam Stubbs avatar image
4 Likes"
Sam Stubbs answered Sam Stubbs edited

Unfortunately, you can't create a new CAD format file from the FlexSim components. However, if you had previously imported a CAD file or other 3D assets, you can pull them back out using a command in FlexScript:

applicationcommand("byteblocktofile",so(),"path/to/file/Filename.extension");

Where the so() method is pointing to the object (in this case your 3D assets) that you previously designated as "so". You can do this by going into the Tree view of your model, expanding the objects under "model", opening the "Packed Media", and selecting the assets you wish to export, right clicking them, and under "Edit" select "Designate this Node (so)". See the gif below.

Also if you want the file to just be exported into the same directory as the model, you can use something like the following for the final "path" parameter:

concat(modeldir(),"Filename.extension")

designateso.gif (213.8 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.