
Automation 2-19
2-19
accessing or opening specific simulation cases.
Syntax: Connecting to the Application
Set hyApp = CreateObject(“HYSYS.Application”)
Syntax: Connecting to the Simulation Case
Through GetObject
Set hyCase = GetObject(“filepath”, “HYSYS.SimulationCase”)
Through the Application Object
Set hyCase = hyApp.ActiveDocument
Through SimulationCases Collection Object
Set hyCase = hyApp.SimulationCases.Item(“CaseName”)
Comentários a estes Manuais