Hi everyone
Please instruct me how to customize Flow Items position in Queue like the following image (arrange flow items in the center of each circle).
Simulation Rhino line 20240216 Queue.fsm
Thanks and best regards
Hi everyone
Please instruct me how to customize Flow Items position in Queue like the following image (arrange flow items in the center of each circle).
Simulation Rhino line 20240216 Queue.fsm
Thanks and best regards
You can set a stacking method in a queue. If you want to adjust a location for each object by on Entry event, you set for example do nothing in in stacking option. Now you can set locations as you like.
An automatic analysis does not exist of shape edges, because you can still manipulate size of an object and shape later.
By setting do nothing in stacking option. I can set the location for first flow item which entered queue. What is about setting location for second ~ 9th flow item? Flow items will not be removed until the queue got full
Thanks and best regards
here an example. There are other structures to achieve a similar outcome.
On Entry trigger
int contentInQueue = current.subnodes.length;
Array posPerItem = [[0,0,0],[1,0,0],[2,0,0],[0,1,0],[1,1,0],[2,1,0],[0,2,0],[1,2,0],[2,2,0]]; // [[x,y,z],..] item.location = posPerItem[contentInQueue].as(Vec3);
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved