Atomic Perception

Enivob

About Me

Expertise
VFX Artist
Location
United States
Website

Connect

Recent Forum Posts

Reading and writing ramps and ramp properties Oct. 19, 2020, 9:14 a.m.

Have you played around with what the .asCode() method kicks out? What if you just wrote that to disk? Then you could execute the python code to re-establish the ramp later..?

Here is the code that will generate one TAB on a ramp. (it's actually made up of three parameters.)
# Code for /obj/geo1/attribwrangle1/shape1pos parm 
if locals().get("hou_node") is None:
    hou_node = hou.node("/obj/geo1/attribwrangle1")
hou_parm = hou_node.parm("shape1pos")
hou_parm.lock(False)
hou_parm.deleteAllKeyframes()
hou_parm.set(0)
hou_parm.setAutoscope(False)


# Code for /obj/geo1/attribwrangle1/shape1value parm 
if locals().get("hou_node") is None:
    hou_node = hou.node("/obj/geo1/attribwrangle1")
hou_parm = hou_node.parm("shape1value")
hou_parm.lock(False)
hou_parm.deleteAllKeyframes()
hou_parm.set(0)
hou_parm.setAutoscope(False)


# Code for /obj/geo1/attribwrangle1/shape1interp parm 
if locals().get("hou_node") is None:
    hou_node = hou.node("/obj/geo1/attribwrangle1")
hou_parm = hou_node.parm("shape1interp")
hou_parm.lock(False)
hou_parm.deleteAllKeyframes()
hou_parm.set("linear")
hou_parm.setAutoscope(False)

Crowd Agent initial offset? Oct. 18, 2020, 9:43 a.m.

Can't you just rotate the sources right after Agent import?

How To Uninstall Old Versions [Ubuntu] Oct. 16, 2020, 12:06 p.m.

I have built up quite a few versions of Houdini on my Ubuntu machine.
How do I uninstall them?