arnold_handler¶
Hook class to handle Houdini Arnold nodes.
Designed to inherit base_render_handler i.e. define the hook attribute
in your project configuration settings with the following inheritance:
node_handlers.shot_step:
- node_type: arnold
node_category: Driver
hook: "{self}/node_handlers/base_export_handler.py:{self}/node_handlers/base_render_handler.py:{self}/node_handlers/arnold_handler.py"
work_template: houdini_shot_render
publish_template: houdini_shot_publish_render
extra_args:
aov_work_template: houdini_shot_work_extra_plane
aov_publish_template: houdini_shot_publish_extra_plane
mtlx_work_template: houdini_shot_work_mtlx
mtlx_publish_template: houdini_shot_publish_mtlx
ass_work_template: houdini_shot_work_ass
ass_publish_template: houdini_shot_publish_ass
Module Contents¶
Classes¶
Node handler for Arnold render nodes in houdini. |
-
class
ArnoldNodeHandler[source]¶ Bases:
HookBaseClassNode handler for Arnold render 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.
-
_get_output_paths_and_templates(self, node)[source]¶ Go through the node’s specified parameters and get the output paths, work and publish templates.
Returns a list of dictionaries, each containing, at least: - work template - publish template - file name
and optionally: - any sequence paths - whether the output is a deep image
- Parameters
node – A
hou.Nodeinstance.- Return type
list(dict)
-
_lock_parms(self, node, lock)[source]¶ Lock parms on the node is shotgun is enabled.
- Parameters
node – A
hou.Nodeinstance.lock (bool) – Lock parms if True.
-