a better search and replace panel
SearchReplacePanel
Updated: 13 May 2021
Author: frank
Compatible Nuke versions: 10.0 or later
Compatibility: Linux, Mac, Windows
v1.3: Nuke 13. compatible
v1.2: fixed bug to make the panel work with file paths without sequence padding (e.g. quicktimes, still frames, etc)
v1.1: added features:
- added tooltips
- option to turn off case sensitivity
- history menu for quick access of previous search&replace actions
- control the size of the history when creating the menu, e.g.:
1
srPanel = SearchReplacePanel.SearchReplacePanel( maxSteps=5 )
This was actually my first test project when python panels became available and has proven very handy tucked away in the pane menu for easy access.
To load the panel into the 'Pane' menu and make it save with layouts properly, drop something like this into your menu.py:
1 |
import SearchReplacePanel |
The above code in the menu.py will give you this:
You can chose to perform the search&replace on all nodes or just selected ones: