Vizard 7 » Command Index » Vizard modules » viz » <viz>.addView
7.7

<viz>.addView

Adds a new view.

<viz>.addView()  

Remarks

Adding a new view allows a window to take this view. See example.

Return Value

<viewpoint> object.

Example

viz.add('tut_ground.wrl')
window = viz.addWindow()
view = viz.addView()
window.setView(view)
window.getView().move(0,0,-50)