2011

Table Of Contents
Event Conditions
Events can be combined with a simple Boolean logic. To create an event condition you can use a combination
of brackets and AND/OR operators.
The brackets and logic operators can be added by right-clicking an event, and selecting the option from the
shortcut menu. Alternatively, you can click in the corresponding field in the Events view, and use the drop-down
list to select the desired option.
NOTE If you have more than one event in your script, by default the AND operator will be used. This means the script
only runs if all events have occurred.
To add an event
1 If the Scripter window is not already open, click Animation tab Script panel Scripter .
2 Select the desired script in the tree view.
3 Click the desired event icon at the bottom of the Events view. For example, click to create an On Start
event.
4 Review the event properties in the Properties view, and adjust them as necessary.
To test event logic
1 If the Scripter window is not already open, click Animation tab Script panel Scripter
.
2 Select the desired script in the tree view.
3 Right-click the Events view, and click Test Logic on the shortcut menu.
Navisworks checks the event conditions in your script, and reports back any detected errors.
To delete an event
1 If the Scripter window is not already open, click Animation tab Script panel Scripter
.
2 Select the desired script in the tree view.
3 Right-click the event you want to delete in the Events view, and click Delete Event.
Work with Actions
An action is an activity, such as playing or stopping an animation, showing a viewpoint and so on, which is
carried out when a script is triggered by an event or a combination of events.
Your script can have more than one action in it. Actions are executed one after another, so it is important to get
the action sequence right.
NOTE Navisworks does not wait for the current action to be completed before moving on to the next action.
Work with Actions | 347