kunz Difference between revisions of "Tips and Tricks"

Difference between revisions of "Tips and Tricks"

From kunz
Line 36: Line 36:


== Merge nodes from other scenes into your file ==
== Merge nodes from other scenes into your file ==
Type this command into an hscript textport.
Type this [https://www.sidefx.com/docs/houdini/commands/mread.html command] into an hscript textport.
<syntaxhighlight lang='C++'>
<syntaxhighlight lang='C++'>
mread -m /obj/geo1/* $HOME/Downloads/example.hip
mread -m /obj/geo1/* $HOME/Downloads/example.hip
</syntaxhighlight>
</syntaxhighlight>

Revision as of 06:44, 18 April 2022

Force viewport textures to reload

Type this command into an hscript textport (you can raise a new hscript textport window using the shortcut Alt+Shift+T).

glcache -c

Make Houdini crash

Type this command into an hscript textport and Houdini will crash.

coredump -f

Remap $HIP path

Type this command into an hscript textport to remap where $HIP paths to. This can be useful if you've moved the Houdini scene file but not everything else it was linking to.

setenv HIP = /Users/john_kunz/Downloads/

Hide nodes in the network editor

Type this command into an hscript textport to hide nodes in the network editor.

opset -e off /obj/geo1

See who created a node

Type this command into an hscript textport to reveal who created a node. Figure out who to complain to.

opstat /obj/geo1

Export node information to a text file

Type this command into an hscript textport to dump node information as a plain text document. Useful if you're passing along geometry caches to another artist so they can be aware of existing groups and attributes.

opinfo /obj/grid1/subdivide1 > $HOME/Downloads/info.txt

Merge nodes from other scenes into your file

Type this command into an hscript textport.

mread -m /obj/geo1/* $HOME/Downloads/example.hip