User Manual

Table Of Contents
Macro Pages
Librariesī™
401
12. Copy the same path information to the second entry line and change LayerA to
LayerB.
The variable switches between two path strings. Now, you need a control that switches
between these two strings.
13. Add a menu control to the macro page.
You can also use other controls like knobs or radio switches to change the scope.
14. In the Value property of the menu, enter @LayerSelect.
15. In the Scope property of the group, enter @LayerSelect as well, so that the menu
and the group are both using the same variable.
16. You can now use the menu to switch between the two scopes of the group, that is, you
can select the layer that is affected.
NOTE
Note: If you want the controls to work in a dynamic scope, first add the path
information to the Scope property of the group and then connect the engine
parameters to the controls. This way, HALion directly detects that there is an edit
scope and only adds the subpath, or in the simplest case the parameter name, to the
Value property when you drop the engine parameter.
Before dragging a parameter from the Parameter List, make sure that the object from
which you want to drag the parameter is selected in the Program Tree. Otherwise,
HALion cannot retrieve the correct parameter name and will only show the parameter
ID instead.
Libraries
Libraries are identical to macro pages, except that they do not include a functional user
interface. Libraries can contain templates and their resources, as well as any further useful
content for macro pages.
You can open and edit libraries in the Resource/Library Browser. Libraries are visualized
with a light bluish background to distinguish them from bitmap resources, for example.
When you click a library, its contents are shown. If a library contains folders, these are
displayed in a blue color to distinguish them from the folders provided by the operating
system.
You can edit libraries in the same way as macro pages. For example, you can create new
templates, insert templates by dragging them from another macro page or library into the
new library, create new folders inside a library file, drag templates from libraries to a macro
page, etc.
Perform the editing that you want to apply, for example, delete or rename libraries, create
new ones, add existing templates from macro pages or other libraries, or copy templates
between libraries or macro pages by dragging them from one list to the other.
To edit a library, right-click it in the Resource/Library Browser and select Edit Library.
NOTE
To make editing operations such as copying easier, open two Macro Page Designer windows,
so that you can drag elements from one window to the other.