<viz>.addScene

Adds a new scene.

 

<viz>.addScene()

 

Remarks

There are intially 6 scenes (1-6) so this functions is only needed if more than 6 scenes are required.

Adding a new scene appends it to the scene list so if before the last scene was #6 calling addScene will make the last scene #7.

Return Value

<scene> object

Example

viz.go()

#Create new scene
myScene = viz.addScene()

#Make new scene active
viz.MainView.setScene(myScene)

#Add a model to the new scene
viz.add('gallery.ive',scene=myScene)