Hey all - I was wondering if there was a way to add a dynamic message
attribute without receiving a warning - ie, if I do:

import maya.cmds as cmds
cmds.addAttr(longName="msgAttr", attributeType="message")

... I receive:

// Warning: file: C:/3D/Maya2008/scripts/AETemplates/
AEreplaceCompound.mel line 97: Message attributes have no data
values. //

Anyone know a way to get around this, ie add a message attribute
without receiving an error? Or some way to temporarily disable the
error?

I know I could do this from the API, but then I would lose the ability
to undo, which I'd rather be able to keep.
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to