Jump to content

How can I set the playback range


sanostol

Recommended Posts

I want to adjust the playback range of a scene preferable with python, but hscript would be fine to

i tried hou.playbar.setPlaybackRange(start, end) but it just sets the playback range but not the global start/end. this function seems not to be implemented in python yet.

does anybody know a way

Martin

Link to comment
Share on other sites

thanks, retried this one again. last time i didn't set the playback range to

in python now it looks like this:


hou.hscript("tset " + str((start-1)/24.0) + " " + str((end)/24.0) )
hou.playbar.setPlaybackRange(start-1,end)
[/CODE]

start and end are frames

Edited by sanostol
  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...