So I'm trying to use a FlowSplitter that only activates once a passage opens based on a trigger.
I tried setting the FlowSplitter to Enabled in my trigger code, and visually it seems to work (ie. It Changes from Red) but the agents are ignoring it.
Can a FlowSplitter be enabled in this way, or only before a simulation is started?
Thanks for any assistance.
Flowsplitter enabled during simulation?
-
- Posts: 8
- Joined: Friday 12 January, 2018 - 10:19
-
- Posts: 8
- Joined: Friday 12 January, 2018 - 10:19
Re: Flowsplitter enabled during simulation?
Is there any way to delete post on this forum? If not, could a mod please delete this.
This problem was resolved, something else was causing it.
This problem was resolved, something else was causing it.
Re: Flowsplitter enabled during simulation?
Hi,
In case you used flowsplitter_setenabled (which only works before running) it is better to use FlowSplitter_UpdateEnabled
See also attached example where the action timer changes both the direction of the passageway and enables the flow splitter (there are multiple ways to do this.... I now chose the channel connections).
Regards, Marlies
In case you used flowsplitter_setenabled (which only works before running) it is better to use FlowSplitter_UpdateEnabled
See also attached example where the action timer changes both the direction of the passageway and enables the flow splitter (there are multiple ways to do this.... I now chose the channel connections).
Regards, Marlies
- Attachments
-
- 20180116 Example flowsplitter.mod
- (77.49 KiB) Downloaded 979 times
-
- Posts: 8
- Joined: Friday 12 January, 2018 - 10:19
Re: Flowsplitter enabled during simulation?
That was what I needed. I will try and find UPDATE instead of SET functions as those will likely work better!FlowSplitter_UpdateEnabled
Thanks, appreciate the help.