question

SHASHIKUMAR. V avatar image
0 Likes"
SHASHIKUMAR. V asked Matthew Gillespie edited

How to create flow items with variable dimensions using single source?

FlexSim 16.1.2
flowitemtrigger
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Steven Hamoen avatar image
1 Like"
Steven Hamoen answered Brandon Peterson commented

Use the onexit trigger of the source. Select the option to change the dimensions and where you enter the dimensions enter a function something like: uniform(0.5,1.5) to get a size somewhere between 0.5 and 1.5. Be careful to not choose a function that can return 0 or even negative because your product becomes unvisible and maybe some other weird things might happen ( calculating the exit time on a conveyor for instance )

· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

SHASHIKUMAR. V avatar image SHASHIKUMAR. V commented ·

Thanks.but Actually am using latest version of Flexsim Updated Soft,,,, OnExit trigger i cant find the Dimension change tool ...i can see Data, Control, Visual etc

0 Likes 0 ·
Brandon Peterson avatar image Brandon Peterson ♦ SHASHIKUMAR. V commented ·

It is under "Visual" as the "Set Rotation, Size, or Location" pick option. You can also use the OnCreation trigger as well as the OnExit trigger. For your purposes either trigger will work the same way. The difference between the two is that the OnCreation trigger happens before the code in the flow tab and the OnExit trigger happens after.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.