[Closed] Align Pivot to Object on node creation using C++ SDK
How to change pivot for each object while nodes creating (by user or another script/plugin) or change default node settings? Maybe it’s possible to access some node creation event?
The thing I was looking for was Reference Coordinate System not a pivot (SetRefCoordSys function).
But there is still a question: coordinate system changes to view when a new object is created. And I want to use always screen CS, so I need to catch objects creation event and execute SetRefCoordSys function every time object added to scene.
In Autodesk manual
http://docs.autodesk.com/3DSMAX/16/ENU/3ds-Max-SDK-Programmer-Guide/index.html?url=cpp_ref/group___display_event_methods.html,topicNumber=cpp_ref_group___display_event_methods_html582c6821-558a-41bd-b21d-f240b2fc5e69
I’ve found Added event function, but there isnt any example or tutorial how to use them.
Any help?