[Sidefx-houdini-list] group of objects user selection for export ROP?

Sebastian H. Schmidt sebastian.h.schmidt at googlemail.com
Sun Mar 28 14:12:23 EDT 2010


well you could add your code as PythonModule to your HDA which then would do
your import on load of the HDA,
and it will also define the functions you need within your HDA.
the one line in the callback would be something like
hou.pwd().hdaModule().myButtonCallBack()

On Sun, Mar 28, 2010 at 2:47 PM, katrin schmid <Katisss at gmx.de> wrote:

> hi,
> the not so obvious answer calling a module is
> kwargs['node'].hdaModule().selObjs(kwargs['node'])...
> Best Regards,
> katrin
>
>
>
> hi,
> i got another one that is probably very easy:
> i want my button to import and call the python
> and execute it which makes it 2 lines of python.
> What is the syntax in the callback field?
> I tried
> import objselection\n  objselection.doit()
> but wont work...
> Thanks,
> katrin
>
> --
> GMX DSL: Internet, Telefon und Entertainment für nur 19,99 EUR/mtl.!
> http://portal.gmx.net/de/go/dsl02
>
> --
> Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
> jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/chbrowser
> _______________________________________________
> 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