geo = node.geometry() skel = geo.unpackFromFolder("/Base.skel") skel.addAttrib(hou.attribType.Global, "frame_range", (1, 1)) skel.setGlobalAttribValue("frame_range", (1,120))
results in:
hou.GeometryPermissionError: Geometry is read-only.
It's a bit weird tho...
geo
itself is writable, why isn't the geometry unpacked from it? What's the correct way to handle it? Just create a new hou.Geometry()
then copy()
?