nuke.OutputContext

class nuke.OutputContext

Bases: object

Describes a context in which expressions can be evaluated.

Methods

frame

Return frame value.

setFrame

Set frame value.

setView

Set view number.

view

Return view number.

viewFromName

Returns the index of the view with name matching the argument name or -1 if there is no match.

viewcount

Return number of views.

viewname

Return name of the view.

viewshort

Return short name of the view.

frame() float

Return frame value.

setFrame(f) True

Set frame value. The f argument is a float.

setView(n) True

Set view number. The n argument is an integer in the range of 0 to number of views.

view() int

Return view number.

viewFromName(name) int

Returns the index of the view with name matching the argument name or -1 if there is no match.

viewcount() int

Return number of views.

viewname(n) string

Return name of the view. The n argument is an integer in the range of 0 to number of views.

viewshort(n) string

Return short name of the view. The n argument is an integer in the range of 0 to number of views.