Is it possible to access the 'notes' field of an object through the Maya scripting interface? I'm trying to get it to work inside Python, but I assume any pointer into the right direction of which class/function I need to use in the API will help me out.
+1
A:
An attribute called "notes" is added dynamically to nodes when you type in the notes field in the attribute editor. So, to check the value you can check if an attribute called "notes" exists on the node, then retrieve the value.
The mel procedure that the maya UI uses to create and set the notes attribute is called "setNotesAttribute( string $nodeName, string $longAttrName, string $shortAttrName, string $attrType, string $newAttrValue)". Where the long name is "notes", short name is "nts", type is "string".
kb
2009-08-28 18:00:30
Awesome, this helped me out! The following did the trick:import maya.cmds as cmdscmds.getAttr( '_nodeName.nts' )
Evil Activity
2009-08-31 14:42:33