Aspen Touch Solutions ATM-123R Series Specifikace Strana 35

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 374
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 34
Automation 2-21
2-21
Starting a Particular Version of HYSYS
To start a particular version of HYSYS via OLE, use one of the
following HYSYS.Application ProgIDs.
Some ProgIDs activate the most currently registered version of
HYSYS. HYSYS 2006 and later versions register only at
installation. You can manually register and un-register HYSYS
2006 and after using the following commands:
HYSYS /regserver
HYSYS /unregserver
If you open a case using GetObject (“casename.hcs”), the case
will open with the version of HYSYS that was last registered.
VB6 supports an additional parameter for GetObject that allows
the case to be open in the version specified. For example, this
code would open the case in HYSYS V7.3:
GetObject (“case.hsc”, “HYSYS.SimulationCase.V7.3”)
Flowsheet(s)
The main flowsheet object is accessed through the
SimulationCase object. The flowsheet object is a container of all
the ProcessStream and Operations objects as well as a link to
the FluidPackage object associated with that flowsheet. Each
flowsheet and sub-flowsheet can have its own fluid package and
ProgID Description
HYSYS.Application Activates the most currently registered
version of HYSYS.
HYSYS.Application.V7.3 Activates HYSYS V7.3 as long as it is
registered.
HYSYS.Application.Latest Activates the latest version of HYSYS that is
registered.
HYSYS.Application.NewInstance Starts a new instance of the most currently
registered version of HYSYS.
HYSYS.Application.NewInstance.V7.2 Starts a new instance of HYSYS 2006 as long
as it is registered. Notice that in this case
V7.2 may not be the latest registered version
of HYSYS.
HYSYS.Application.NewInstance.Latest Starts a new instance of the latest version of
HYSYS that is registered.
Zobrazit stránku 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 373 374

Komentáře k této Příručce

Žádné komentáře