You cannot instantiate this object directly. Call hou.playbar.animBar or hou.ChannelEditorPane.animBar instead.
Methods ¶
tools(shown_only: bool=True)
→ tuple
Returns a tuple of strings consisting of the ids of the tools currently
present on the animation toolbar. If shown_only
is set to False
, will
instead return the ids of all tools, including those that have been removed
from the toolbar.
setTools(tool_ids: tuple)
Sets the active tools on the animation toolbar, replacing the previously active tools.
tool_ids
is a tuple of strings consisting of the ids of the tools to be
set.
removeTool(id: str)
Removes a tool with the given id from the animation toolbar.
addTool(id: str, index: int=-1)
Adds the tool with the given id to the animation toolbar, if it is not already present.
id
is the id of the tool to add.
index
is an optional argument specifying the position at which to add the
tool. If not provided, the tool is added at the end of the toolbar.
reset()
Resets the animation toolbar, adding back all removed tools and placing them back in their original order.
showLabels(show: bool)
Shows or hides the labels that are displayed below each tool.
labelsShown()
→ bool
Returns whether or not full labels are currently displayed for each tool.
setToolSize(size)
Sets the size of the tools on the animation toolbar.
size
is a hou.animBarToolSize
toolSize()
→ hou.animBarToolSize
Returns the current size of the tools on the animation toolbar.