do script at frame with Python?
1904 1 1- cgbeige
- Member
- 99 posts
- Joined: March 2009
- Offline
- Dennis Weil
- Member
- 150 posts
- Joined: May 2011
- Offline
You can do it in the hou.session module. You can open it via Windows > Python Source editor. Then add something like this (mostly taken from the docs):
import hou
def outputPlaybarEvent(event_type, frame):
if frame == 200:
print frame
hou.playbar.addEventCallback(outputPlaybarEvent)
http://www.sidefx.com/docs/houdini13.0/hom/hou/playbar [sidefx.com]
import hou
def outputPlaybarEvent(event_type, frame):
if frame == 200:
print frame
hou.playbar.addEventCallback(outputPlaybarEvent)
http://www.sidefx.com/docs/houdini13.0/hom/hou/playbar [sidefx.com]
-
- Quick Links