Skip to content

Rui182-dev/houdini-path-replace-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Houdini Path Replace Tool

Simple Houdini shelf tool script for previewing and replacing file path prefixes on selected nodes.

See this video for how to use : Vimeo video link

What It Does

The tool opens a dialog where you enter:

  • an old path prefix
  • a new path prefix

It scans the selected Houdini nodes, previews matching file path changes, and applies the replacement after confirmation.

Included Files

  • houdini_path_replace_tool.py - shelf tool Python script

Install In Houdini

  1. Open Houdini.
  2. Open the Shelves toolbar.
  3. Click the + menu on the shelf and choose New Tool.
  4. Give the tool a name such as Path Replace.
  5. In the Script tab, set the language to Python.
  6. Paste the contents of houdini_path_replace_tool.py into the script field.
  7. Save the tool to your preferred shelf.

Usage

  1. Select the nodes you want to process.
  2. Run the shelf tool.
  3. Enter the old and new path prefixes.
  4. Review the preview dialog.
  5. Confirm to apply the replacements.

Notes

  • The script targets string parameters with a file path type.
  • This script uses the startswith function, so you need to feed the path prefix from the start to the point you want to change. For example:
    • Correct: $HIP/2D$HIP/3D
    • Incorrect: 2D3D

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages