Form FlowsheetConnect Method
Connects two simulation objects. If both are unit operations (or recycle blocks) a new material stream is automatically
inserted between them; otherwise the objects are connected directly.
Definition
Namespace: DWSIM
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
Assembly: DWSIM (in DWSIM.exe) Version: 10.0.9588.16093
C#
public void Connect(
ISimulationObject objFrom,
ISimulationObject objTo,
int fromidx,
int toidx
)VB
Public Sub Connect (
objFrom As ISimulationObject,
objTo As ISimulationObject,
fromidx As Integer,
toidx As Integer
)Parameters
- objFrom ISimulationObject
- The upstream simulation object.
- objTo ISimulationObject
- The downstream simulation object.
- fromidx Int32
- Output connector index on objFrom.
- toidx Int32
- Input connector index on objTo.