Options Class

From Derivative
Jump to: navigation, 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

Iteratorstr:

Iterate over each option name.

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



An Operator Family that manipulates text strings: multi-line text or tables. Multi-line text is often a command Script, but can be any multi-line text. Tables are rows and columns of cells, each containing a text string.