
Introduction 1-7
1-7
1.3.1 HYSYS & the Macro
Language Editor
The Macro Language Editor is accessed by selecting the Macro
Language Editor command from the Tools menu in the
Simulation environment.
The editor is an interactive design environment for developing,
testing and executing WinWrap Basic automation scripts. The
editor, which uses a syntax that is very similar to Microsoft
®
’s
Visual Basic, allows you to write code that interacts with HYSYS.
Two objects can be accessed directly from any point in a macro:
• Application
•ActiveCase
These special commands allow you to generalize your macros so
that they can be run under many different situations. If you
reference the ActiveCase object, your macro works for any
Simulation Case that is currently open in the HYSYS
environment.
Figure 1.1
For more information on
the Macro Language
Editor, consult the online
help that accompanies
the editor. You can find
the online help in the
Help menu in the Editor’s
menu bar.
Comentários a estes Manuais