conductor.houdini.hda.software_ui module¶
Manage software dependencies, extra uploads, and path additions.
There are 3 sections in the software tab in the UI:
- Packages that Conductor knows about.
- Extra upload paths for files such as user defined tools.
- Amendments to environment that Conductor needs to know about.
Conductor packages are represented as paths, based on a DAG. e.g.
houdini 16.0.736/arnold-houdini 2.0.2.2/al-shaders 1.1
See lib/package_tree
module for more info
-
conductor.houdini.hda.software_ui.
NO_HOST_PACKAGES
¶ Filler text when package list empty
Type: str
-
conductor.houdini.hda.software_ui.
choose
(node, **_)¶ Open a tree chooser with all possible software choices.
Add the result to existing chosen software. When the user chooses a package below a host package, all ancestors are added. Although the chooser is multi- select, it has the annoying property that when you choose a node and a descendent, only the ancestor is returned.
-
conductor.houdini.hda.software_ui.
detect
(node, **_)¶ Autodetect host package and plugins used in the scene.
This will only find the package if Conductor knows about the exact version. Otherwise the user will have to use the chooser and select host and plugin versions that can hopefully manage the current scene. We may detect a plugin in the scene that Conductor knows about, but does not have a path-to-host that Conductor knows about. In this case it is considered unreachable and ignored. Again, if the user wants it, they can select it manually along with the path-to-host that Conductor does know about.
-
conductor.houdini.hda.software_ui.
get_chosen_ids
(node)¶ Get package ids from the chosen package paths.
Only the basename of each package is needed to find the package in the tree.
-
conductor.houdini.hda.software_ui.
get_environment
(node)¶ Merge environments from packages and user defined sections.
Note
Package_tree.get_environment
returns apackage_environment
object, which encapsulates adict
, but which can extend thedict
based on the given merge policy for each entry.
-
conductor.houdini.hda.software_ui.
get_package_tree
()¶ Get the package tree object from shared data.
Note, the product keyword is only used when the singleton is first instantiated. Its probably redundant here.
-
conductor.houdini.hda.software_ui.
on_clear
(node, **_)¶ Remove all packages when the clear button is pressed.
-
conductor.houdini.hda.software_ui.
on_create
(node)¶