Package nuke :: Class OutputContext
[hide private]
[frames] | no frames]

Class OutputContext

object --+
         |
        nuke.OutputContext

Describes a context in which expressions can be evaluated.

Instance Methods [hide private]
a new object with type S, a subtype of T
__new__(T, S, ...)
float
frame()
Return frame value.
True
setFrame(f)
Set frame value.
True
setView(n)
Set view number.
int
view()
Return view number.
int
viewFromName(name)
Returns the index of the view with name matching the argument name or -1 if there is no match.
int
viewcount()
Return number of views.
string
viewname(n)
Return name of the view.
string
viewshort(n)
Return short name of the view.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__new__(T, S, ...)

 
Returns: a new object with type S, a subtype of T
Overrides: object.__new__

setFrame(f)

 

Set frame value. The f argument is a float.

Returns: True

setView(n)

 

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

Returns: True

viewname(n)

 

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

Returns: string

viewshort(n)

 

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

Returns: string