Flowsheet BaseGet Selected Flowsheet Simulation Object Method
Returns the currently selected simulation object, or searches by tag if one is provided.
Definition
Namespace: DWSIM.FlowsheetBase
Assembly: DWSIM.FlowsheetBase (in DWSIM.FlowsheetBase.dll) Version: 10.0.0.0
The matching ISimulationObject, or Nothing if none is selected or found.
Assembly: DWSIM.FlowsheetBase (in DWSIM.FlowsheetBase.dll) Version: 10.0.0.0
C#
public ISimulationObject GetSelectedFlowsheetSimulationObject(
string tag
)VB
Public Function GetSelectedFlowsheetSimulationObject (
tag As String
) As ISimulationObjectParameters
- tag String
- An optional tag to search by. Pass Nothing or an empty string to return the currently selected object.
Return Value
ISimulationObjectThe matching ISimulationObject, or Nothing if none is selected or found.