Viz Artist

Version 3.10 | Published May 03, 2018 ©

Bounding Actions

images/download/attachments/27789571/viz_icons_boundingactions.png
The Bounding Actions plug-in enables you to run Viz Artist/Engine actions depending on the size of the bounding box.

Note: This plug-in is located in: Built Ins -> Container plug-ins -> Tools

This section contains information on the following topics:

Bounding Actions Properties

images/download/attachments/27789571/plugins_container_boundingactions_editor.png

  • Text box: The command, that will be executed every time the bounding box changes.

  • Scale X, Y and Z: Applies a scaling to the values %dx %dy %dz.

  • Offset X, Y and Z: Adds an offset to the values %dx %dy %dz.

Syntax:

  • %dx: Substitutes the width of the bounding box.

  • %dy: Substitutes the height of the bounding box.

  • %dz: Substitutes the depth of the bounding box.

  • %xbool: 0 if dx <= 0 else 1.

  • %ybool: 0 if dy <= 0 else 1.

  • %zbool: 0 if dz <= 0 else 1.

  • %container: Path of the container the bounding action is applied to.

  • %container[path]: Relative path of the container the bounding action is applied to.

Example:

THIS_SCENE*TREE*#297*TRANSFORMATION*POSITION SET %dx %dy %dz

Example:

%container[$textnode1$textnode2]*GEOM*TEXT SET %xbool

To use bounding actions

  1. Drag the plug-in onto a container.

  2. Insert a command in the Text box (see examples above).

    • Now every time the bounding box changes (a Sub-Container is moved outside the current bounding box or the bounding box plug-in is used to modify it), this command is executed.