I'm looking to see if there is an example of passing the message parameter to determine if the wait for event trigger is fired.
I'm looking to see if there is an example of passing the message parameter to determine if the wait for event trigger is fired.
@michael.smith Hi Michael, if you have a wait for event and let it listen to an onmessagetrigger of a 3D object you have access to the Msg Param 1,2 and 3 that are passed in. You can either match those parameters with a label on the token that enters this wait for event or you can assign the Msg Param value to a label on the entering token. With the matching option the token stays in the wait for event till the right event is fired and with the assign you can use a decide if it was the right event. Is this not what you are looking for?
Just be aware that we still have not updated the message parameters so they are still stored as doubles. If you're trying to match a flowitem or other pointer where you have to put tonum(item) into the message parameter, you'll need to do the same thing on the Process Flow side. Store off the pointer you want to match as a number and then use that in your match.
13 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