image_handler¶
Hook class to handle Houdini 2D image read nodes.
Designed to inherit base_import_handler i.e. define the hook attribute
in your project configuration settings with the following inheritance:
env/includes/settings/tk-houdini_node_handlers.yml¶
node_handlers.asset_step:
- node_type: file
node_category: Cop2
hook: "{self}/node_handlers/base_import_handler.py:{self}/node_handlers/image_handler.py"
work_template: houdini_asset_render
publish_template: houdini_asset_publish_render
extra_args:
valid_file_types:
- Image
- Photoshop Image
- Rendered Image
- Texture
Module Contents¶
Classes¶
A node handler for image file input nodes in Houdini. |
-
class
ImageNodeHandler[source]¶ Bases:
HookBaseClassA node handler for image file input nodes in Houdini.
-
_customise_parameter_group(self, node, parameter_group, sgtk_folder)[source]¶ Here is where you define where the sgtk folder is to be placed, but also any other parameters that you wish to add to the node.
- Parameters
node – A
hou.Nodeinstance.parameter_group – The node’s
ParmGroup.sgtk_folder – A
hou.ParmFolderTemplatecontaining sgtk parameters.
-