Sets the path string for where this object’s definition is stored.
Returns the file that contains the definition of this object.
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).