Vizard 7 » Command Index » Vizard modules » viz » <viz:phys>.setEnabled
7.7

<viz:phys>.setEnabled

Enables or disables the physics simulator.

<viz:phys>.setEnabled(  
val  
)  
val
True/False value

Remarks

Set to viz.OFF to disable and set to viz.ON to enable.

viz.phys.setEnabled(viz.ON) == viz.phys.disable()

viz.phys.setEnabled(viz.OFF) == viz.phys.enable()

Return Value

None