[Sidefx-houdini-list] no kwargs in menu scripts! work-arounds any body?
isstuff at gmail.com
Fri Apr 16 01:45:18 EDT 2010
So talk to the instance of the parameter after it has been made by the
multi parm and sitting in the interface. or create all the parameters
from scratch? I have looked at someone else's code where they created
parameters from scratch, it was a mess of code not the speediest thing
to get your head around or write. I may work rite around the
problem.... but i may get my head around it on my own time.
On 15 April 2010 21:11, Andrew D Lyons <tstexture at gmail.com> wrote:
> I'm guessing you've tried querying the parmTemplate?
> Multi-parm parmTemplates are not so well supported in HOM from memory
> - so you might be out of luck...
> On 15 April 2010 16:17, Robert Kelly <isstuff at gmail.com> wrote:
>> I am coming up against the same problem again. There is no kwargs in
>> menu scripts. so if your writing a menu script in python that is on a
>> multi-parm the script wont know what parameter it is on. If anyone
>> knows of a workaround for having a menu script know what its parameter
>> is i would be thank full. Last time i asked this question i was on the
>> Alpha of H10 and python menu scripts weren't out yet.... so hopefully
>> some one has workaround this oversight.
>> Sidefx-houdini-list mailing list
>> Sidefx-houdini-list at sidefx.com
> Andrew D Lyons | Digital Artist | http://www.tstex.com
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list