Viz Artist

Version 3.9.1 | Published December 13, 2017 ©

Cobra

images/download/attachments/27789185/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 section contains information on the following topics:

Cobra Properties

images/download/attachments/27789185/plugins_container_cobra_editor.png

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

  • Search pattern position: Define 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: Only containers on the same hierarchy level will be affected.

    • Down: Only Sub-Containers of the current container will be affected.

    • Tree: Search the whole Scene Tree.

  • Add Index: Set to On to add a numerical index to the new name

    • Starting Index: Set the number to start the index

    • Reverse Index: Set to On to use a reverse index list

  • Replace: Starts the replace process.

To Rename Container(s)

images/download/attachments/27789185/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