Hi, I am trying to suppress maya warning message, but the try:/except:
clause don't supress it.
Anyone know how to do this?
Here is a peice of code that repro the problem
import maya.cmds as cmds
circle_X = cmds.circle(c=(1.1,0,0), nr=(0,1,0), s=8)[0]
circle_Y = cmds.circle(c=(-1.1,0,0), nr=(0,1,0), s=8)[0]
try:
cmds.curveIntersect( circle_X, circle_Y ) #warning messages to
suppress ...
except:
pass
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---