[Sidefx-houdini-list] create a floating pane

Graham Thompson captainhammy at gmail.com
Wed Feb 18 12:15:32 EST 2009


You need to get an existing hou.Desktop object first, most likely the
current desktop.  You also need to pass a particular hou.paneTabType object
to specify the type of window.

desktop = hou.ui.curDesktop()
desktop.createFloatingPane(hou.paneTabType.HelpBrowser)


On Wed, Feb 18, 2009 at 9:11 AM, Alvaro Castaneda <varomix at gmail.com> wrote:

> Hi
>
> I'm trying to create a floating pane with python
>
> I can create one easy in HScript like this
> *pane -F -m helpbrowser*
>
> I' trying to translate that into python, like this
> *hou.Desktop.createFloatingPane("helpbrowser")
>
> *and I get this error*
>
> Traceback (most recent call last):
>  File "<console>", line 1, in <module>
> TypeError: unbound method createFloatingPane() must be called with Desktop
> instance as first argument (got str instance instead)
> *
>
> tried a bunch of commands and get the same error'
> seems like I'm missing something
> anyone knows what?
>
> thank you
> --
> varomix DaGreit
>
> intelia_animate
> www.intelianimate.com
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
>



More information about the Sidefx-houdini-list mailing list