Plug-ins User Guide

Version 5.2 | Published March 20, 2024 ©

Cobra

images/download/thumbnails/105098104/ico_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: Plugins -> Container plug-ins -> Container

Cobra Properties

  • 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/105098104/image2022-9-22_14-18-48.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