[Sidefx-houdini-list] deleting multiparm instacne via py
eyevex at yahoo.com
Mon Aug 15 22:31:26 EDT 2011
Yea thats about the conclusion I came to as of so far... which IS kind of odd considerign it does appear as a normal button parm but there no way to get at the execute() or even a name to adress it as for a pressButton() call. It would seem that using a reserved name of sorts and incrementing it the same as the rest of the multiparm instances would add certain convieniance and maybe less overhead -- aolthough for all i know this could be exactly what is happening internally... maybe someone else knows some voodoo to handle it, but honestly I cant see how without havign a real identifier to adress these buttons with...
----- Original Message -----
From: Graham Thompson <captainhammy at gmail.com>
To: sidefx-houdini-list at sidefx.com; Dan Schneider <eyevex at yahoo.com>
Sent: Tuesday, August 16, 2011 11:34 AM
Subject: Re: [Sidefx-houdini-list] deleting multiparm instacne via py
Unfortunately not. Since the buttons aren't really parms or anything
and have no names there's no way to get at them, let alone do anything
with them. Dumping the contents into the dictionary is the best way
On Mon, Aug 15, 2011 at 6:20 PM, Dan Schneider <eyevex at yahoo.com> wrote:
> Im looking for a way to remove a multiparm instance similar to LMBing the "X" via python -- no luck so far.
> so.. ie I have 3 items and I want to delete the 2nd.. The obvious work around is..
> to read all 1-3 into a dictionary,
> remove the unwanted item
> shorten the multiparm to 2
> write the dictionary back to the multiparm...
> --- Just wondering if anyone knew a more direct way akin to the "X" next to the 2nd one.
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list