Jump to content

Scripted way of some UI operations?


Linghaoli

Recommended Posts

Hi Guys:

 

  I am wonder how to do the following in either python or hscript:

 

1. Set "Render Beauty Pass Only" in the checked in the Flipbook render gui

 

    The "vieweroption" cmd seems have an arg -F, which is to set the flipbook optionis,

    However what are the available flipbook options can be used? Same ones in cmd "viewwrite" ?

   

 

2. Maximize current panel( bascially what the Ctrl + B shortcut does. )

 

Did some googling but couldn't find anythin.. figured might as well ask around here :)

 

 

thanks a lot!

 

-ling

 

 

Link to comment
Share on other sites

  • 2 weeks later...

found out how to do these, just put it here in case anyone needs it later...

 

for 1:

the -B flag should do it..

 

 

for 2

 

# maximize

hou.hscript("pane -f 1 %s" % pane.name())

 

# set it back

hou.hscript("pane -f 0 %s" % pane.name())

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