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
button 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, select Tools
➤
Scripter from the menu bar.
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 a start event.
4
Review the event properties in the properties view, and
.
To test event logic
1
If the Scripter window is not already open, select Tools
➤
Scripter from the menu bar.
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, select Tools
➤
Scripter from the menu bar.
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.
Action Types
The following action types are available in Navisworks:
■
Play Animation
- action specifies which animation to play back when a script is triggered.
■
Stop Animation
- action specifies which currently playing animation to stop when a script is triggered.
■
Show Viewpoint
- action specifies which viewpoint to use when a script is triggered.
■
Pause
- enables you to stop the script for a specified amount of time before the next action is run.
■
Send Message
- action writes a message in a text file when a script is triggered.
■
Set Variable
- action assigns, increases or decreases a variable value when a script is triggered.
■
Store Property
-action stores an object property in a variable when a script is triggered.
This can be useful if you need to trigger events based on embedded object properties or live data in a linked
database.
■
Load Model
- action opens a specified file when a script is triggered.
Work with Actions | 297
Summary of Contents for 507B1-90A211-1301 - NavisWorks Manage 2010
Page 1: ...Autodesk Navisworks Manage 2010 User Guide March 2009 ...
Page 12: ...xii Contents ...
Page 14: ...2 Part 1 Welcome to Autodesk Navisworks Manage 2010 ...
Page 64: ...52 Chapter 3 Installation ...
Page 97: ...Get a Whole Project View 85 ...
Page 98: ...86 Part 2 Get a Whole Project View ...
Page 136: ...124 Chapter 5 Work with Files ...
Page 178: ...To toggle ViewCube Click View Head Up Display ViewCube 166 Chapter 6 Explore Your Model ...
Page 262: ...250 Chapter 9 Use Viewpoints and Sectioning Modes ...
Page 270: ...258 Chapter 11 Work Within a Team ...
Page 282: ...270 Chapter 12 Share Data ...
Page 346: ...334 Chapter 14 Create Photorealistic Visualizations ...
Page 460: ...448 Chapter 17 Autodesk Navisworks Reference ...
Page 466: ...454 Glossary ...