This is what I have so far:
lop=hou.node('/stage/cam') stage=lop.stage() cam=stage.GetPrimAtPath("/cam") attr=cam.GetAttribute("houdini:backgroundimage")
Could someone tell me how to evaluate
attr
attr.Get()
but it just seems to be coming up empty.
lop=hou.node('/stage/cam') stage=lop.stage() cam=stage.GetPrimAtPath("/cam") attr=cam.GetAttribute("houdini:backgroundimage")
attr
attr.Get()
attr.Get()will pick up the "default" (i.e., the non-animated) value. I expect the expression you're using is being expanded at authoring time and generating time sampled data, so you'll want to pass a "query time" to evaluate the attribute - something like: attr.Get(hou.frame()).