[Sidefx-houdini-list] Creating local material paramters via scripting

Michael Scarpa michael at scarpa.name
Thu Sep 27 06:34:24 EDT 2012

Hey Pablo,

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
> implementation.
> Thanks
> -- 
> 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