[Sidefx-houdini-list] Creating local material paramters via scripting
michael at scarpa.name
Thu Sep 27 06:34:24 EDT 2012
I'm not entirely sure, but I believe what you want is the material() method on the hou.ObjNode class:
should do the same as the "Create All Local Material Parameters" menu does, if I'm not mistaken.
Hope this helps,
On 27 Sep 2012, at 10:58, Pablo Giménez wrote:
> Hello all again :)
> I was wondering if somebody has managed to cfeate local material parameter
> for an object using scripting.
> I know it is possible using python, but rebuilding the same thing that is
> done by the button besides the material selector in the object parameter
> would be tedious.
> Is there any implementation of the "Create All Local Material Parmeters"
> wither in hscript or python?
> Or I have to implement it from scratch?
> The button paramter is called shop_materialopts, but it is not calling to
> any callback so seems it is something harcoded in the geo object
> Un saludo
> Best Regards
> Pablo Giménez
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list