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? -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/f87d924f-2b4f-4e8f-bbe0-2404dba76b6b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
