Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

keeping track of scene changes in Maya

keeping track of scene changes in Maya

Anonymous
Not applicable
417 Views
1 Reply
Message 1 of 2

keeping track of scene changes in Maya

Anonymous
Not applicable

Hey guys,

 

I'm kinda new to Maya Plugin development, but have a good C++ background. I'm working on writing a custom C++ scenefile exporter plugin for maya(2015) for one of my projects. I was looking for a way to keep track of changes in the maya scene between exports so I can export out just the detas instead of reexporting the whole scene everytime.

 

Is there a nice for me to keep track of what changed in a maya scene from within a C++ plugin?

 

 

Thx for your thoughts!

0 Likes
418 Views
1 Reply
Reply (1)
Message 2 of 2

vijaya.prakash
Alumni
Alumni

Hi,

 

Yes, you can keep track of changes using callback function. Use MSceneMessage::AddCallback() method and use kBeforeExport, kAfterExport enumerators to keep track of export changes. for more infor mation please check the following link

 

http://help.autodesk.com/view/MAYAUL/2016/ENU//?guid=__cpp_ref_class_m_scene_message_html

http://help.autodesk.com/view/MAYAUL/2016/ENU//?guid=__cpp_ref_plugin_callbacks_2plugin_callbacks_8c...

 

Thanks,

Vijaya Prakash

0 Likes