houpythonportion package

Submodules

houpythonportion.Agent module

This module implements functions for the hou.Agent class.

houpythonportion.AgentClip module

This module implements functions for the hou.AgentClip class.

houpythonportion.AgentLayer module

This module implements functions for the hou.AgentLayer class.

houpythonportion.AgentRig module

This module implements functions for the hou.AgentRig class.

houpythonportion.AgentShapeBinding module

This module implements functions for the hou.AgentShapeBinding class.

houpythonportion.AgentShapeLibrary module

This module implements functions for the hou.AgentShapeLibrary class.

houpythonportion.AgentTransformGroup module

This module implements functions for the hou.AgentTransformGroup class.

houpythonportion.Geometry module

This module implements functions for the hou.Geometry class.

houpythonportion.HDADefinition module

This module implements functions for the hou.HDADefinition class.

houpythonportion.Keyframe module

This module implements functions for the hou.Keyframe class.

houpythonportion.NetworkDot module

This module implements functions for the hou.NetworkDot class.

houpythonportion.NetworkEditor module

This module implements functions for the hou.NetworkEditor class.

houpythonportion.NetworkMovableItem module

This module implements functions for the hou.NetworkMovableItem class.

houpythonportion.Node module

This module implements functions for the hou.Node class.

houpythonportion.Parm module

This module implements functions for the hou.Parm class.

houpythonportion.ParmTuple module

This module implements functions for the hou.ParmTuple class.

houpythonportion.PerfMonProfile module

This module implements functions for the hou.PerfMonProfile class.

houpythonportion.Prim module

This module implements functions for the hou.Prim class.

houpythonportion.StringKeyframe module

This module implements functions for the hou.StringKeyframe class.

houpythonportion.TopNode module

This module implements functions for the hou.TopNode class.

houpythonportion.hda module

This submodule implements functions for the hou.hda submodule.

houpythonportion.ui module

Module contents

This module implements the parts of the hou module written in Python.

houpythonportion.clipInfo(data, binary=True, blosc_compressed=True)
USAGE
clipInfo(data, binary=True, blosc_compressed=True) -> dict

Returns a dictionary with information about the clip specified by <data>. The returned dictionary contains the following keys:

  • “start” -> the start frame in the clip
  • “length” -> the clip length
  • “rate” -> the clip’s sample rate
  • “tracks” -> a list of the track names in the clip

All values in the returned dictionary are strings (or list of strings for “tracks”).

<binary> and <blosc_compressed> specify the format of the given <data>.

  • If <binary> is True, the given data is binary clip data. Otherwise it is plain text (ASCII) clip data.
  • If <blosc_compressed> is True, the given data is blosc compressed binary clip data. This cannot be used with ASCII clip data.

Raises a hou.InvalidInput exception if binary = False and blosc_compressed = True.

Raises a hou.OperationFailed exception if the given <data> is invalid.