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 |
|
Downloads |
Q&A Using Flexsim and building models |
#1
|
|||
|
|||
RE: Change the rank of output ports of a object using flexscript
Say, Queue1 is connected via output ports to
1. Conveyor1 2. Conveyor5 3. Conveyor6 4. Conveyor3 5. Conveyor2 6. Conveyor4 in the order stated. How can the ranks of output ports be changed via flexscript. The ranks should be changed to 1. Conveyor1 2. Conveyor2 3. Conveyor3 .......... Thanks |
#2
|
|||
|
|||
Define sendto Port based on location name. . .
We have an intricate system of conveyors system thru which the product is sorted. The next destination is defined in a table based on the product type and current.
Is there a way to reference the destination in the "send to port" by name of the destination rather than rank. Because of the huge size of the model and the number of conveyors involved, I would like to use/refer the "send to port" to refer to the destination as defined in the table. Also, this will give a lot of flexibility for adding or deleting conveyors in the future. The question above refers to the requirement for the logic in this request. Thanks |
#3
|
|||
|
|||
There's a post here that might help with routing through a conveyor network.
To change the ranks of ports here's an example of moving port 3 to port 2: setrank(rank(connectionsout(<object>),3),2) |
Tags |
output port rank |
Thread | Thread Starter | Forum | Replies | Last Post |
how to change color of 3D object made in 3D Max | qin tian | Q&A | 3 | 03-26-2013 10:27 PM |
How to change FlexScript node function | luis quinones | Tips and Tricks | 1 | 09-14-2010 03:50 AM |
How to change the current MTTR by running flexscript commands | Yu Tian | Q&A | 1 | 06-24-2010 03:06 AM |
How to partially change the color of a 3D object ? | Veronique Dossogne | Q&A | 3 | 04-06-2010 09:06 AM |
Conect ports in the tree | Sebastian Hemmann | Q&A | 3 | 01-14-2010 08:41 AM |