Creating Interactive Animations with Scripter in Navisworks: Left and Right Door Open and Close Scripts
Master Interactive Door Animations in Navisworks Scripter
This tutorial builds on previous lessons. Ensure you have the BIM361 model loaded from Lesson 3 and the Scripter tool enabled before proceeding with animation creation.
Animation Components Overview
Existing Animations
Approach animation and cut animation section plane created manually in previous lessons. These serve as the foundation for door scripts.
New Door Scene
Left and right door opening animations without closing sequences. This allows Scripter to control timing dynamically.
Interactive Scripts
Keyboard-triggered events that respond to user input for real-time door control during model navigation.
Creating the Door Animation Scene
Copy Existing Door Animations
Select left door, right-click to copy and paste. Repeat for right door to duplicate existing animations without recreating keyframes.
Create New Scene
Click Add Scene button and name it 'Doors'. Drag both door animations into this new scene container.
Remove Unwanted Keyframes
Delete closing keyframes by right-clicking each unwanted keyframe. Keep only the first two keyframes for opening motion.
Remove Camera Animation
This animation scene doesn't require camera movement, focusing solely on door mechanics for cleaner script execution.
Key Assignment Strategy
| Feature | Working Keys | Reserved Keys |
|---|---|---|
| Left Door | L key | Avoid system shortcuts |
| Right Door | R key | Avoid function keys |
| Close Function | K key | C key (reserved) |
Certain keys like 'C' are reserved by Navisworks and will not work in scripts. Always test key assignments and choose alternative keys when conflicts arise.
Script Event Configuration
On Key Press Condition
Primary event type for door control. Allows assignment of specific keyboard keys to trigger animations with customizable timing.
Trigger Timing Options
Key Down versus Key Up timing. Key Down provides immediate response when key is pressed for better user experience.
Animation Properties
Pause at End prevents animation reset. Start and End positions define scrubber movement along the timeline.
Current Position vs Start Position
A single key press can trigger multiple animations simultaneously. This is useful for coordinated actions like closing both doors with one command rather than creating separate scripts.
Script Testing Protocol
Provides clear reference point for testing animation sequences
Locks Scripter panel and activates keyboard event listeners
Scripts only activate when scene has focus, not the Scripter interface
Verify L and R keys work independently before testing combined actions
Ensure Current Position logic works when doors are partially opened
Returns Scripter to editable mode and prevents save conflicts
Animation Workflow Progression
Scene Setup
Load BIM361 model and enable Scripter tool with existing animations
Animation Creation
Copy door animations and create new Doors scene with opening-only keyframes
Script Development
Create Left Door Open and Right Door Open scripts with key assignments
Close Script Logic
Implement Doors Close script with Current Position logic for both doors
Testing & Validation
Enable scripts and test all key combinations for proper door behavior
This lesson is a preview from our Revit MEP Certification Course Online (includes software & exam). Enroll in this course for detailed lessons, live instructor support, and project-based training.
Key Takeaways