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

<viz>.setOption

Set an option value

<viz>.setOption(  
name  
value  
)  
name
Name of the option
value
Value of the option

Remarks

This command will set the the value of the specified option name. If the option does not exist, it will be created, otherwise it will override the existing value. If value is None then the option will be removed.

Upon startup, Vizard will load the file vizcore.cfg located in the [Vizard]\bin directory. This file can specify any number of options to initialize. To specify an option add a line like this:

name = value

Vizard will ignore lines that begin with the '#' symbol.

Return Value

None

Example

#Set the AVI recorder to record at 29.97 frames per seconds
viz.setOption('viz.AVIRecorder.fps','29.97')

See also

<viz>.getOption