skifx Posted October 10, 2011 Share Posted October 10, 2011 Hello. Can somebody please write the code with maxscript how to restore a specific scene state in 3ds max? thank you very much Link to comment Share on other sites More sharing options...
BrianKitts Posted October 11, 2011 Share Posted October 11, 2011 the quick way is.... sceneStateMgr.restoreAllParts "SceneStateName" (replace SceneStateName with whatever you called your saved state) If you want to only load certain parts..... sceneStateParts = sceneStateMgr.GetParts "SceneStateName" that will return an array of the parts saved in the scene state then you can edit the array to remove parts you do/don't want and then execute.... sceneStateMgr.restore "SceneStateName" sceneStateParts Link to comment Share on other sites More sharing options...
skifx Posted October 12, 2011 Author Share Posted October 12, 2011 Brian thank you very much for your help. It's exactly what I wanted. My best wishes to you. Thanks again. Petros. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now