2011

13 Click Capture Keyframe again. A second black diamond will be added to the timeline at the 3-second
position. Click Rotate
again to deactivate the gizmo.
14 Thats it! Your animation is complete. Drag the timeline bar back and forth to open and close the door, or
use the playback controls.
In the Animator window, there is an option called P.P., which stands for Ping-Pong. Selecting this option and
then playing your animation will play the animation forwards and then when the end is reached, play it
backwards. Simulating the door opening and then closing in this case. You could try copying the second keyframe
a few seconds later, then using Ping-Pong the door will open, stay open for a few seconds and then close.
Selecting the Infinite and Loop options will infinitely loop the animation. With Ping-Pong selected also, the
simple animation will continuously play backwards and forwards. This could for example, be used to simulate
the repetitive process of a crane or other mechanical equipment.
Animation Interaction
Having created object animations, Autodesk Navisworks enables you to associate these with events that can be
triggered by the user. For example, taking the simple animation of opening a door in the previous section, you
can create a script that plays the animation when you approach the door. Lets see how this is achieved.
1 Stop the Animator playback and uncheck P.P, Infinite, and Loop options.
2 Click Animation tab Script panel Scripter.
3 Click Add New Script
, renaming this, Open Door.
4 In the Events section, click On Hotspot
.
5 In the Properties section, click Pick. This will change the cursor to a cross-hair
. Click the center of the
door.
22 | Chapter 1 Getting Started