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 > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 04-24-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default 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  
Old 04-25-2011
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

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.
  #3  
Old 04-25-2011
shashanktrivedi shashanktrivedi is offline
Flexsim User
 
Join Date: Apr 2011
Posts: 59
Downloads: 26
Uploads: 0
Thanks: 26
Thanked 16 Times in 3 Posts
Rep Power: 122
shashanktrivedi will become famous soon enough
Default

Thanks alot


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


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.