How to use "contextdragconnection" in Fluid?

How to use "contextdragconnection" in Fluid?

murio_b
Not applicable
156 Views
1 Reply
Message 1 of 2

How to use "contextdragconnection" in Fluid?

murio_b
Not applicable

[ FlexSim 21.1.2 ]

Hi,

I'm using the Fluid library and trying to use the "contextdragconnection" to make some connections in the model while it is running.

The problem is that when process flow makes these connections, the fluid does not leave the tank (the code snippet is already opening and closing the object's ports).

How can I do this?

39777-1621870838132.png

Thanks!

ModeloExemplo_6.fsm

0 Likes
Accepted solutions (1)
157 Views
1 Reply
Reply (1)
Message 2 of 2

philboboADSK
Autodesk
Autodesk
Accepted solution

The fluid objects are not designed to dynamically change their connections while the model runs. They have variables for individual port rates that are set up On Reset.

You should create all the port connections before running your model and adjust the rates or close/open ports as necessary during the model run.



Phil BoBo
Sr. Manager, Software Development