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

katrin schmid Katisss at gmx.de
Sun Mar 28 18:33:00 EDT 2010


hi,
i ended up doing this but only import and call
my code from hda module.
I prefer to keep my code in svn :) rather than the nodes.
Thank you,
katrin


-------- Original-Nachricht --------
> Datum: Sun, 28 Mar 2010 19:12:23 +0100
> Von: "Sebastian H. Schmidt" <sebastian.h.schmidt at googlemail.com>
> An: sidefx-houdini-list at sidefx.com
> Betreff: Re: [Sidefx-houdini-list] group of objects user selection for	export ROP?

> 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
> >
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

-- 
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser



More information about the Sidefx-houdini-list mailing list