question

Steven Chen avatar image
1 Like"
Steven Chen asked Matthew Gillespie answered

FlexScript labels

How to use FlexScript label of object tags, can you provide samples?

FlexSim 20.1.2
flexscriptflexsim 20.1.2
· 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.

Jeff Nordgren avatar image Jeff Nordgren commented ·

@steven.chen,

It's just a node that contains FlexScript (code that can be executed) as per the User Manual:

1 Like 1 ·
1594920629317.png (44.8 KiB)
Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

Are you just asking when you would use this option?

0 Likes 0 ·
1594762707891.png (8.5 KiB)
Steven Chen avatar image Steven Chen Matthew Gillespie ♦♦ commented ·

Yes,This FlexScript label,can you provide samples?

0 Likes 0 ·

1 Answer

·
Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered

FlexScriptLabels.fsm

In the attached model I put a ProcessTime FlexScript label on the Box and Cylinder flowitems.

Then on all the processors I call item.ProcessTime to get the processing time. This evaluates the distribution on the item's ProcessTime label.


1594929419850.png (29.8 KiB)
1594929451845.png (31.8 KiB)
5 |100000

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

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.