Attribute Editor Template default view with XML file.

30 views
Skip to first unread message

Peter Makal

unread,
Mar 9, 2017, 1:39:40 PM3/9/17
to Python Programming for Autodesk Maya
Hey guys,

I've created my own node in Maya API and I want to set a default view to it in the attribute editor. I want to do it with custom XML file (AE<nodeType>Template.xml) since doing it this way is way more handy and easier than doing it with MEL. But... unfortunately I don't know how to set <view> tag to replace a "Default" option (set in attribute editor menu: Show->Set Global View->Default). If I write <view name='Default'> than it will add new "Default" option in the submenu. If I write <view name=''> than it won't show anything - eitherway the end result is not what I want.

Is there any way to achive this with XML file or I really have to do it with MEL?
Reply all
Reply to author
Forward
0 new messages