I got into trouble accessing "$F" "$FPS" and "$NFRAMES" from python and/or VEX without abusing parameters.
there is hou.frame(), hou.time(), hou.fps() and in VEX @Frame and @Time. Is this all I have?
is there really no hou.startFrame(), hou.endFrame() and @StartFrame @EndFrame ?
I know I could use a parameter with the Variable I want. But I want to do it directly from within VEX/Python. It looks (and IS) cleaner. And there are also cases where I do not have spare parameters available. Especially in python.
$FSTART,$FEND,$TSTART,$TEND
accessing "$FSTART" "$FEND" and "$NFRAMES" from python
2563 2 1-
- GOgraphR
- Member
- 72 posts
- Joined: Oct. 2018
- Offline
-
- Enivob
- Member
- 2658 posts
- Joined: June 2008
- Offline
Check out the playbar module. You should be able to extract the range.
https://www.sidefx.com/docs/houdini/hom/hou/playbar.html [www.sidefx.com]
https://www.sidefx.com/docs/houdini/hom/hou/playbar.html [www.sidefx.com]
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
-
- GOgraphR
- Member
- 72 posts
- Joined: Oct. 2018
- Offline
-
- Quick Links

