Jump to content

how to restore a scene state in 3dsmax with maxscript?


skifx
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...