Is there a way to suppress the mel code which is echoed to the history
pane for something like:
from pymel.core import *
shader, shaderSG=createSurfaceShader('surfaceShader')

Which results in:
shadingNode -asShader surfaceShader;
// Result: surfaceShader9077 //
sets -renderable true -noSurfaceShader true -empty -name
surfaceShader9077SG;
// Result: surfaceShader9077SG //
connectAttr -f surfaceShader9077.outColor
surfaceShader9077SG.surfaceShader;
// Result: Connected surfaceShader9077.outColor to
surfaceShader9077SG.surfaceShader. //

Thanks

-- 
http://groups.google.com/group/python_inside_maya

To unsubscribe from this group, send email to 
python_inside_maya+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to