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 |
#1
|
|||
|
|||
Indexnum of 3d shape flow items
I am using setobjectshapeindex(rank(item,index),4) to change item content 3d shape dynamically in Flexsim 4.52.
I want to know what is the indexnum of different 3d shape of flow items like pallet, tote etc. , right now i have to do lot of hit ant trial method to arrive at the result and what if i add a new flow item what should be indexnum of new 3 d shape flow item. If possible , can anyone suggest me good help for flexsim scripting, currently i am following flexsim4.52 help manual. Thanks&Regards Shashank Trivedi |
#2
|
|||
|
|||
As the command reference states, you'd use setobjectshapeindex like this:
setobjectshapeindex(<flowitem>,getshapeindex("fs3d\\FlowItem\\Tote.3ds")); The path to the shape can be found using getnodestr(shape(<flowitem>)) as long as you haven't set it dynamically using setobjectshapeindex. Use the ones in the FlowItemBin for reference. To reference a flowitem in the FlowItem Bin you can use node(concat("/Tools/FlowItemBin/",<flowitemname>,"/1"),model()) ..which doesn't assume a rank in the flowitem bin. My experience is that the User Manual, Command Help and Hints together provide all the information you need to teach yourself almost every aspect of Flexsim. If you get stuck, the forum is here to help. Last edited by Jason Lightfoot; 04-25-2011 at 02:57 AM. |
Thread | Thread Starter | Forum | Replies | Last Post |
Recycling Flow Items | Joe Allen | Q&A | 1 | 09-16-2008 03:57 PM |
Sequence of Flow Items Through a Processor | Anthony Timmiss | Q&A | 0 | 06-11-2008 02:26 AM |
Operator not unloading items before picking up priority items | Howe Chiat Cheng | Q&A | 2 | 05-28-2008 02:05 AM |
change 3D shape of a packed flow item | KelvinHo | Q&A | 2 | 02-27-2008 09:41 PM |
Flow items with states | AlanZhang | Q&A | 16 | 11-30-2007 10:32 AM |