Options Class
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[edit]
No operator specific members.
Methods[edit]
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
Iterator
→ str
:
Iterate over each option name.
for n in ui.options: # do something with n
TouchDesigner Build: