Query viewer pane options?

   1659   0   0
User Avatar
Member
3 posts
Joined: Sept. 2013
Offline
I have two questions both related to viewer panes:

First, is there any way to query the options of a viewer?
There is the vieweroption hscript command to _set_ all the options, but I haven't been able to find anything to query/get the corresponding options, neither in hom or hscript. (http://www.sidefx.com/docs/houdini12.1/commands/vieweroption) [sidefx.com]


Secondly, once a floating viewport is created, is there any way to programmatically resize it?
The hou.Desktop class lets you specify the size when creating a new floating panel, but I haven't found a way to resize it after it's been created. (http://www.sidefx.com/docs/houdini12.1/hom/hou/Desktop) [sidefx.com]
Same goes for the hscript pane command; if I create a new floating window, I can specify the size. If I instead use the -o option to open a new copy of a pane, I can't specify the size. And since I haven't found a way to resize it after it's been created , I'm unable to create a floating copy of a pane with a specific size.
(http://www.sidefx.com/docs/houdini12.1/commands/pane) [sidefx.com]

Any ideas? Thanks
  • Quick Links