[Sidefx-houdini-list] Addying a parameter using python

Graham Thompson captainhammy at gmail.com
Fri Oct 9 15:18:47 EDT 2009

Adding parameters is pretty easy and there are examples in the documentation
I believe. Unfortunately adding one through Python results in nothing
special.  Same result as adding it through the Operator Type Properties
dialog.  It will be able to be changed through the dialog just like any
other.  The only parameters that you cannot modify/delete are base
parameters; the ones that must be associated with a particular node.  You
may be able to make it a base parm later by modifying it through editing the
Dialog Script, but I don't remember how well that worked when I tried it

2009/10/9 Pablo Giménez <pablogipi at gmail.com>

> Hi
> I  want to add a parameter to a definition via python.
> I have a hou.HDADefinition and I wanto to be able to add, for instance a
> float parameter.
> Also will be cool if the user can't delete or modifiy the parameter through
> the Operator Type Property dialog, that is said the new parameter can only
> be changed using python.
> thx
> --
> Un saludo
> Best Regards
> Pablo Giménez
> _______________________________________________
> 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