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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?