Richard Redcroft

Redcroft

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Selecting Parms in channel list / anim edit in python Jan. 24, 2022, 5:21 a.m.

Hi,
I'm trying to get a list of the currently scoped and selected channels in the animation editor with python but not sure how. I tried
hou.ChannelList.parms()
and
hou.ChannelList.selected()
but that returns an empty tuple.

Thanks

Can't open pose library directory Nov. 30, 2021, 5:28 a.m.

Hi,
We get the following error when trying to open pose library

[redsith@heimdall ~]$ Traceback (most recent call last):
  File "/opt/hfs19.0.454/houdini/python3.7libs/poselib/poselib.py", line 221, in _openDirectory
    self.libraryWidget.openLibrary(itemlibrary.LIBRARY_DIRECTORY)
  File "/opt/hfs19.0.454/houdini/python3.7libs/poselib/itembrowser.py", line 1034, in openLibrary
    return self._loadFrom(load_format, path, "Open Library", False)
  File "/opt/hfs19.0.454/houdini/python3.7libs/poselib/itembrowser.py", line 1058, in _loadFrom
    name = self.itemModel.loadFrom(load_format, path, importing)
  File "/opt/hfs19.0.454/houdini/python3.7libs/poselib/itemlibrary.py", line 2446, in loadFrom
    success = self.loadJSON(root_folder)
  File "/opt/hfs19.0.454/houdini/python3.7libs/poselib/itemlibrary.py", line 1606, in loadJSON
    force_load_data=force_load_data) \
  File "/opt/hfs19.0.454/houdini/python3.7libs/poselib/itemlibrary.py", line 1578, in loadJSON
    item = self.itemFromJSON(json)
  File "/opt/hfs19.0.454/houdini/python3.7libs/poselib/posemodel.py", line 354, in itemFromJSON
    json[itemlibrary.JSON_IMAGE_TYPE]),
  File "/opt/hfs19.0.454/houdini/python3.7libs/poselib/itemlibrary.py", line 1515, in _deserializeImage
    byte_array = byte_array.fromBase64(image.encode('utf-8'))
AttributeError: 'bytes' object has no attribute 'encode'

Thanks

Gimbal mode in Kinefx Rigpose Nov. 10, 2021, 3:50 a.m.

We are also experiencing this issue