Viz Artist User Guide

Version 3.12 | Published October 17, 2019 ©

Cobra

images/download/attachments/41798082/viz_icons_cobra.png
The Cobra function is an easy to use function replace (parts) of container names. Enter a search pattern and a string the search should be replaced with and execute.

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

This page contains the following topics and procedures:

Cobra Properties

images/download/attachments/41798082/plugins_container_cobra_editor.png

  • Search pattern: Sets the text string to be replaced.

  • Search pattern position: Defines the position within the string. It can be set to Begin, End and Any.

  • Replace with: Sets the text string to be used instead of the search pattern.

  • Search level:

    • Same: Affects only containers on the same hierarchy level.

    • Down: Affects only Sub-Containers of the current container.

    • Tree: Searches the whole Scene Tree.

  • Add Index: Adds a numerical index to the new name when set to On.

    • Starting Index: Sets the number to start the index.

    • Reverse Index: Uses a reverse index list when set to On.

  • Replace: Starts the replace process.

To Rename Container(s)

images/download/attachments/41798082/plugins_container_cfcobra_example_group.png

  1. Add the Cobra plug-in to a container that, for example, has Sub-Containers that need be renamed.

  2. Open the Cobra editor.

  3. Enter a Search pattern text string (e.g. Copy)

  4. Set the Search pattern position to Begin.

  5. Enter the Replace with text string (e.g. Sphere).

  6. Set the Search level to Down.

  7. Click Replace.

See Also