ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Tips and Tricks
Downloads

Tips and Tricks Share helpful modeling ideas

  #1  
Old 10-15-2015
Axel Kohonen
Guest
 
Posts: n/a
Downloads: 22
Uploads: 0
Default How to embed 3D shapes within a user library

Hi,

I was wondering about if one can embed the 3D shapes used in some object into a user library for easier sharing and this is the answer I got from Jeff at Flexsim.

Hope it helps someone!

Axel


Quote:
I've touched base with the dev team about how packed media works.

If you look at the object data under the model node, you'll see a node called packedmedia. The subnodes are built just like a file system. If there are several media files under the same absolute path, they'll be organized in the same way here. The final level where you find binary data nodes, those nodes hold the actual data of the packed media.

These nodes may be absolute paths or relative paths - however they are used by the objects in your FlexSim model. When you linked to media, if you used an absolute path, then here under model>packedmedia you'll see absolute paths. Likewise for relative paths.

When a model opens, FlexSim will first look at the filesystem to see if the media exists at the specified path. If the media is there, it uses it from your filesystem. If it is missing from the filesystem (like if you shared the model file with someone), then FlexSim checks the packed media as a secondary source. In this way, you can continue to edit 3D files, other media, etc, and then File>Reload media (or open your model, if FlexSim was closed) and the latest version of your media will show up (and be saved into packed media for later sharing).

The packedmedia subnode under the model object is just a standard attribute node. This node could be removed from the model (if you don't want media packed for every object in your model) and instead added to a visual tool or any other object in your model. If you add to a visual tool, which can hold other objects in it, then any sub-objects in that visual tool will have their media packed.

The same concept works for User Libraries. That way you can pack all the required media into saved user libraries for easier sharing.
The Following 3 Users Say Thank You to Axel Kohonen For This Useful Post:
Sebastian Hemmann (10-20-2015)

Tags
3d shapes, media, packed media, user library


Thread Thread Starter Forum Replies Last Post
Is it possible/how to include 3d shapes with the library Vadim Fooks Q&A 4 10-21-2015 04:18 AM
Moving folders with user commands when installing from a user library Axel Kohonen Tips and Tricks 1 10-01-2015 12:05 AM
Global variables in user library Benjamin Cohen Q&A 1 05-19-2015 04:43 AM
Pulling Object User Library shashanktrivedi Q&A 1 06-09-2011 10:16 AM
How to add objects to user library in V 5 Sebastian Hemmann Q&A 4 10-06-2010 04:43 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.