Custom Code Event Trigger

Custom Code Event Trigger

daniel_r13
Not applicable
570 Views
3 Replies
Message 1 of 4

Custom Code Event Trigger

daniel_r13
Not applicable

[ FlexSim 21.1.2 ]

Hi FlexSim Team!

My team and I are currently working with FlexSim for the first time and we are having some issues. We currently have a complete Arrival, Model, and Person Flow and we would like to have some code be triggered at each timestep. If that is not possible we were thinking that maybe we could have the code run at a regular interval say every 5 or 10 seconds. Any help on this would be really appreciated. Thanks!

-Dan

0 Likes
Accepted solutions (1)
571 Views
3 Replies
Replies (3)
Message 2 of 4

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Daniel R13,

Welcome to FlexSim. We are happy to help.

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.

0 Likes
Message 3 of 4

jason_lightfoot_adsk
Autodesk
Autodesk
Accepted solution

Depending on what you're trying to achieve you could add a user event (Toolbox->Modeling Logic->User Events) or a source with a fixed interarrival time (3D or process flow), or if it's to gather data you can have a statistics collector that fires at regular intervals.

Message 4 of 4

daniel_r13
Not applicable

Thank you!

0 Likes