Options Class

From Derivative
Jump to navigation Jump to search

The Options class describes the set of configurable UI options. It can be accessed with the ui.options object.


Members

No operator specific members.


Methods

resetToDefaults()None:

Reset all options to their default values.

Special Functions[edit]

len(Options)int:

Returns the total number of options.

a = len(ui.options)

[index]value:

Get or set specific option given a string index.

v = ui.options['DAT.width']
ui.options['DAT.width'] = 50

Iteratorstr:

Iterate over each option name.

for n in ui.options:
	# do something with n


TouchDesigner Build: