Thanks alot buddy. It was working... Thank you so much..... appreciate ur
help
On Friday, June 22, 2018 at 5:25:17 PM UTC+5:30, vince touache wrote:
>
> def createShader(shaderType='aiStandard', name='CHROME'):
> name = pm.shadingNode(shaderType, asShader=True, name=name or
> shaderType)
> sg = pm.sets(renderable=True, noSurfaceShader=True,
> empty=True, name='%sSG' %(name))
> pm.setAttr('%s.weight' %(name),0.25)
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/e4f8890b-96bd-48c6-850a-d377eaa3c59d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.