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: Autodesk 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 Autodesk 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.

    You may find it useful if you want to present a selection of animated scenes contained in a range of different model files.