Houdini 11 HScript commands

Automatically promotes all parameters from a material’s contained shaders onto the material.

Usages

  1. shoppromote [-c [-f]] material_path

Without options, this command takes all the parameters from the shaders contained in a material and copies them onto the material itself. You can then prune and organize the parameters as desired. This is usually faster than promoting parameters from the shaders one-by-one.

This is the same as right-clicking a Material node and choosing Promote Material Parameters.

Options

-c

Clear automatically promoted parameters.

-f

Force clearing of all user-added parameters on the material. (used with -c).

When you use shoppromote or the Promote Material Parameters menu item, Houdini marks the parameters and you can easily remove them with -c. If you've manually promoted parameters, they won’t have the special mark and you’ll need to use -f to clear them.

Warning

This will remove all user-added parameters, whether they were promoted from shaders or not.

On this page