ToqueIO: Search Replace Panel v1.0


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Josh Robertson
The search replace panel is a helper utility which can be used to search all file knobs in the current script and replace the value. This can be very useful when updating a script after it has been transferred or archived. The search will check the node selection collecting all file knobs then processing the search on each of those knobs per node. All results will then be displayed in the Info Box
Requirements:
13.1, 13.0, 12.2, 12.1, 12.0 or later
Linux, Mac, Windows
25 Jan 2022
85

Documentation to `Release 1.0.0` SR-Release-1.0.0

Based on the original idea of Search Replace Panel this is a new version built from the ground up with some additional features and tweaks

The search replace panel is a helper utility which can be used to search all file knobs in the current script and replace the value. This can be very useful when updating a script after it has been transferred or archived. The search will check the node selection collecting all file knobs then processing the search on each of those knobs per node. All results will then be displayed in the Info Box

searchReplaceInterface

There are a few simple options available in the interface.

  • Selection Mode: here the user can selected if the replace should process all nodes or just the currently selected nodes
  • Case Sensitive: enable/disable case sensitivity of the search
  • Use Regex: enable/disable regex formatting in the search. If enabled the search will be treated as a regular expression
  • Search: The search entry. This is where you will enter what to search for on the current node selection. Basic wildcards are enabled here with * matching all characters and ? matching any single character.
  • Replace: This is the line containing the text to replace the search with
  • Info Box: Here all of the information for the search is displayed. This will show a live output of what has been found and what will be replaced.

History
After every execution of the replace the search and replace will be saved to a history file saving up to 100 items for both the search and replace. This will then be available as auto completion on both the search and replace lines.

searchReplaceHistory

Menu Location
The Search Replace Panel can be found in the custom panels
searchReplaceMenuLocation

Installation

import nuke
# The path entered should be the directory where you have placed the repository code
# If you placed the code in /toqueIO/Nuke then you would put this
nuke.pluginAddPath('/toqueIO/Nuke')

If there are any issues or suggestions please feel free to submit tickets via the github link!

Cheers
Josh

Please login in order to download these files.

You have no rights to post comments

We have 4321 guests and 164 members online