alembic_handler¶
Hook class to handle Houdini Alembic write nodes.
Designed to inherit base_cache_handler i.e. define the hook attribute
in your project configuration settings with the following inheritance:
node_handlers.shot_step:
- node_type: alembic
node_category: Driver
hook: "{self}/node_handlers/base_export_handler.py:{self}/node_handlers/base_cache_handler.py:{self}/node_handlers/alembic_handler.py"
work_template: houdini_shot_work_alembic_cache
publish_template: houdini_shot_publish_alembic_cache
extra_args:
seq_work_template: houdini_shot_work_alembic_seq_cache
seq_publish_template: houdini_shot_publish_alembic_seq_cache
Module Contents¶
Classes¶
Node handler for alembic export nodes in houdini. |
-
class
AlembicNodeHandler[source]¶ Bases:
HookBaseClassNode handler for alembic export nodes in houdini.
-
_create_sgtk_parms(self, node)[source]¶ Create the parameters that are going to live within the sgtk folder.
- Parameters
node – A
hou.Nodeinstance.- Return type
list(
hou.ParmTemplate)
-
_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 (utils.ParmGroup) – The node’s
utils.ParmGroup.sgtk_folder – A
hou.ParmFolderTemplatecontaining sgtk parameters.
-
_populate_from_fields(self, node, fields)[source]¶ Populate the node from template fields.
- Parameters
node – A
hou.Nodeinstance.fields (dict) – The template fields.
-