ATTENTIONThis 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 |
#2
|
||||
|
||||
There is not a faster way; just create the shape in a 3D modeling program, such as AC3D. Any 3D modeling program has functionality to import shapes into existing scenes. Just import the pallet, import the tote, import the bottle, and then duplicate them and arrange them in one scene. Then export it as a single 3d shape.
You could also write custom draw code that calls drawshape() multiple times based on the data in labels or nodes. Then you have a single object drawing all of those 3d shapes without the overhead of the draw pass having to loop through each flowitem to draw them individually, which does a lot more than just drawing them (e.g., reading their spatial size, rotation, and location; adjusting the modelview matrix so that their content items' locations are relative to the parent; reading and setting color; etc). |
The Following 3 Users Say Thank You to Phil BoBo For This Useful Post: | ||
syseo (02-15-2016) |
Thread | Thread Starter | Forum | Replies | Last Post |
Gray Model View (3D) of loaded Model - Flexsim 7 Beta | Jörg Vogel | Tips and Tricks | 2 | 09-22-2013 03:14 AM |
How to automate the process of writing the same logics/codes in many objects in a model | naren nataraj | Q&A | 6 | 08-02-2012 04:10 AM |
Exporting From Flexsim Chart | michaelsmith | Q&A | 1 | 10-07-2009 11:53 AM |
How to select all objects of a class in your model | Brenton King | Tips and Tricks | 3 | 04-03-2008 11:25 PM |
potential objects in railyard model | Vinay Mehendiratta | Q&A | 1 | 10-29-2007 12:01 PM |