[Sidefx-houdini-list] deleting multiparm instacne via py

Graham Thompson captainhammy at gmail.com
Mon Aug 15 21:34:36 EDT 2011


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
unfortunately.

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



More information about the Sidefx-houdini-list mailing list