Vizard 8 » Command Index » Vizard modules » viz » <viz>.getOption
8.0

<viz>.getOption

Gets the value of an option.

<viz>.getOption(  
name  
default = ''  
type = None  
)  
name
The option name
default = ''
Default value to return if option does not exist.
type = None
The data type to convert the option value to

Remarks

This command will return the current value of the specified option. If the option does not exist then the value specified by 'default' is returned.

Return Value

Option value or default value

See also

<viz>.setOption