Rob Smith

rdms

About Me

専門知識
CG Supervisor
業界:
Film/TV

Connect

LOCATION
Canada
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

python viewport through specified camera ... error 2017年10月19日15:06

RESOLVED …

Moved code into another py file and imported that from 456.py (didn't need to use 123.py after all). Also found I needed to add hou.uitriggerUpdate() call. So the code looks like this:

def_cam = hou.node(/obj/defCam)
hou.ui.triggerUpdate()
hou.ui.waitUntil(lambda: len(hou.node("/obj").children()) > 0)
scene_view = toolutils.sceneViewer()
viewport = scene_view.curViewport()
viewport.setCamera(def_cam)

Abort save if beforescenesave.py fails 2017年10月12日12:05

H16.0.736
Somewhat related …

if I'm using the HSITE environment variable and I save beforescenesave.py & afterscenesave.py in $HSITE/houdini16.0/scripts, should they work? I'm not seeing anything happen. To clarify, this is what I have in the afterscenesave.py file:

if kwargs["success"] and not kwargs["autosave"]:
print "after save"

Apprentice grabbing license? 2017年10月12日10:41

H16.0.736

I have Houdini-Master license installed. If I start Houdini in the apprentice mode on an existing hipfile (command line is “houdini -apprentice <hipfile>.hip”), it grabs the license. Is that expected behaviour?