How do you get the frame range via python?

   4870   1   0
User Avatar
Member
24 posts
Joined: Jan. 2013
Offline
I searched the web, documentation and this forum but couldn't find any information on how to replace HScript commands like $RFEND in Python. I usually use it in parameter fields, but if there's a different syntax in the context of python SOP, i'd like to know that as well.

Thanks!
User Avatar
Member
7244 posts
Joined: July 2005
Offline
I think $RFEND would equivalent to something like hou.playbar.playbackRange()

There's always hou.expandString(“$RFEND”) as well.
  • Quick Links