Jump to content

Code for sequence and flipbook in mPlay ?


Recommended Posts

Hey there,

Here are the methods that houdini uses to create flipbooks ( https://www.sidefx.com/docs/houdini/hom/hou/FlipbookSettings.html )

To see what the current values are for a given scene viewer flipbook the best I could come up with was to query the setting and print it out like this 

Quote

#in a python script sop

import toolutils

viewer = toolutils.sceneViewer()
curview = viewer.curViewport()

#just printing to check that the viewer is correct, assuming you are checking your current view

print viewer
print curview

curview_stash = viewer.flipbookSettings().stash()

#Here you can just specify the parameter that you want to check, you will have to check the documentation for the exact method that you are looking for

print curview_stash.frameRange()
print curview_stash.resolution()
print curview_stash.gamma()


 

Unfortunately it doesn't look like the flipbook stash returns anything that you can iterate over to print out an entire list.

Hope this helps
 

R

  • Like 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...