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.
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).
- 20180116 Example flowsplitter.mod
- (77.49 KiB) Downloaded 92 times