Flowsheet BaseConnect Method
Connects two simulation objects. If both are unit operations, an intermediate material stream is
created automatically and positioned between them.
Definition
Namespace: DWSIM.FlowsheetBase
Assembly: DWSIM.FlowsheetBase (in DWSIM.FlowsheetBase.dll) Version: 10.0.0.0
Assembly: DWSIM.FlowsheetBase (in DWSIM.FlowsheetBase.dll) Version: 10.0.0.0
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
- The output connector index on the upstream object.
- toidx Int32
- The input connector index on the downstream object.