You can’t instantiate this object directly, call hou.shelves.newShelfSet() instead.
Removes this shelf set from Houdini and deletes it from the shelf definition file.
Replaces the current contents of the shelf with the given list of hou.Shelf objects.
Returns the shelf tabs in this shelf set.
Methods from hou.ShelfElement
Sets the path string for where this object’s definition is stored.
Returns the file that contains the definition of this object.
Returns the file location description in a human readable format. For example, it is a file path for disk files, and information about an HDA if the element is stored in an HDA tool section.
Sets this object’s internal name. This is how you refer to the object in scripts.
The name has similar rules to naming Houdini nodes: it must not start with a number, and can only contain letters, numbers, an underscores.
For example, if a Tool objects name is
foo, you can get a reference
to it using:
footool = shelves.tool("foo")
Returns the internal name of this object.
Multiple objects may have the same name (for example, two
different assets might both provide a
hammer tool), but only one will
be active at a time in a Houdini session.
Sets the object’s human-readable label. This is what’s displayed in the UI.
Returns the object’s human-readable label.
# Get a reference to a tool t = hou.shelves.tool("geometry_sphere") # Prevent the tool from being modified t.setReadOnly(True) # Allow the tool to be modified t.setReadOnly(False)
True if the element is read-only (can’t be edited).