houdini_core_tools.ui package
Submodules
houdini_core_tools.ui.opmenu module
This module contains functions supporting custom OPmenu.xml entries.
- houdini_core_tools.ui.opmenu.create_absolute_reference_copy(scriptargs: dict) → hou.Node[source]
Create an absolute reference copy of a node.
- Parameters:
scriptargs – kwargs dict from OPmenu entry.
- Returns:
The created reference copy node.
houdini_core_tools.ui.parmmenu module
This module contains functions supporting custom PARMmenu.xml entries.
- houdini_core_tools.ui.parmmenu.convert_absolute_to_relative_path(scriptargs: dict) → None[source]
Convert any absolute node paths to relative paths.
- Parameters:
scriptargs – kwargs dict from PARMmenu entry.
- houdini_core_tools.ui.parmmenu.convert_absolute_to_relative_path_context(scriptargs: dict) → bool[source]
Context script for converting any absolute node paths to relative paths.
The menu entry will be shown if there are node reference string parameters whose values are absolute paths.
- Parameters:
scriptargs – kwargs dict from PARMmenu entry.
- Returns:
Whether to show the menu entry.
- houdini_core_tools.ui.parmmenu.convert_relative_to_absolute_path(scriptargs: dict) → None[source]
Convert any absolute node paths to absolute paths.
- Parameters:
scriptargs – kwargs dict from PARMmenu entry.
- houdini_core_tools.ui.parmmenu.convert_relative_to_absolute_path_context(scriptargs: dict) → bool[source]
Context script for converting any relative node paths to absolute paths.
The menu entry will be shown if there are node reference string parameters whose values are relative paths.
- Parameters:
scriptargs – kwargs dict from PARMmenu entry.
- Returns:
Whether to show the menu entry.