FlowsheetBaseGetSelectedFlowsheetSimulationObject 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
public ISimulationObject GetSelectedFlowsheetSimulationObject(
	string tag
)

Parameters

tag  String
An optional tag to search by. Pass Nothing or an empty string to return the currently selected object.

Return Value

ISimulationObject
The matching ISimulationObject, or Nothing if none is selected or found.

Implements

IFlowsheetGetSelectedFlowsheetSimulationObject(String)

See Also