question

Robin Brunner avatar image
2 Likes"
Robin Brunner asked Robin Brunner commented

Possiblity of saving packedmedia node into a user library for simple sharing?

Hello Community,

I'm trying to figure out how to save my whole Custom BasicFRs and BasicTEs into one user library with the 3D Shape files from the packedmedia-Node. Goal is to just load the User Library into a new FlexSim Project and all the Custom Codes and Files come with it.

My workaround till now is to save the Custom FRs and TEs into a User Library and the packedmedia files will be saved as a Treenode ".t"-File. Then load the User Library and as well the Treenode with the 3D Data as a new Node under the packedmedia-Node into the new FlexSim Project. After that clicking on "Reload Media" everything works.

But is there a faster and easier way for doing that? Especially that FlexSim rookies can use my User Library on a simple way!

Regards Robin

FlexSim 17.0.2
user library3d shapes
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

·
Phil BoBo avatar image
7 Likes"
Phil BoBo answered Robin Brunner commented

Add a packedmedia node to your User Library and then Reload Media.

The custom media within the objects in your User Library will then pack into the .fsl file.

Then you can distribute just the .fsl file, and the media will be available to anyone with the library open rather than needing the media files themselves.

If you then want to copy the packedmedia from the library to models that use those objects (so that you don't need the library open to access the media), you'll need to write a custom script in your library that copies those nodes into the model's packedmedia so that they save with the model instead of just in the library. Then you will be able to see the media in the model even if the library isn't open.


packed-media2.png (23.9 KiB)
· 2
5 |100000

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

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

How to Reload Media:

From FlexSim's main menu, go to File > System > Reload Media

0 Likes 0 ·
Robin Brunner avatar image Robin Brunner commented ·

Thanks. That worked!

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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