question

yoni A avatar image
0 Likes"
yoni A asked Kari Payton commented

Changing object length

how can you change the length of an object when it goes from one processor to the next?

FlexSim 18.1.0
triggerssize
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

·
Kari Payton avatar image
1 Like"
Kari Payton answered Kari Payton commented

@yoni A you can set an on entry trigger in the processor properties to change the object size.

changesize.fsm


setsize.png (112.3 KiB)
changesize.fsm (133.0 KiB)
· 3
5 |100000

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

yoni A avatar image yoni A commented ·

@Kari Payton

THANKS, but how do you do it in a station or several stations placed on a conveyor?

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ yoni A commented ·

Stations and Decision Points have On Arrival and On Continue triggers that are similar to the On Entry and On Exit triggers of processors.

1 Like 1 ·
Kari Payton avatar image Kari Payton yoni A commented ·

@yoni A yea as Matthew stated.... Go into the properties on the station and add a code snippet to the on arrival trigger called setsize(object,x,y,z). I didn't see an option to change the size directly that's why I used the code snippet. changesize.fsm

1 Like 1 ·
changesize.fsm (89.1 KiB)

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.