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
Hi there
I have scenes containing nodes with attributes that were renamed. My goal is to convert the scene on the fly.
I found a MSceneMessage callback to fix broken connections (due to the missing attr) but I could not find a callback to grab the old attribute value and store it into the new one.
Any suggestion ?
Cheers
Philippe Leprince
unread,
Feb 12, 2021, 9:47:55 AM2/12/21
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
As often, I ended up finding the solution just after asking...
I am using MFnDependencyNode.setAlias in my generic post-constructor to set the old attribute name as an alias to the new one.