Document

Inheritance diagram of rumba.Document
class Document

The Document node plugin.

Methods

cameras()

Return the document's cameras.

clear_undo_stack()

Clear the undo/redo stack.

filter()

Return the file filter name to use to save this document.

frame()

Current document frame.

is_active()

Is this document the active one ?

path()

Return the document path.

set_active()

Set this document the active one.

set_clean()

Mark the document as "unmodified".

set_path(path)

Set the document path.

__init__(*args, **kwargs)
cameras()

Return the document’s cameras.

Return type

list(maquina.NodeDelegate)

clear_undo_stack() None

Clear the undo/redo stack.

filter() unicode

Return the file filter name to use to save this document. Default is “Document”.

Return type

unicode

frame() float

Current document frame.

Return type

float

is_active() bool

Is this document the active one ?

Return type

bool

path() unicode

Return the document path.

Return type

unicode

set_active() bool

Set this document the active one. Only possible if the document is in the editable state. Returns true if the document has been set active.

Return type

bool

set_clean() None

Mark the document as “unmodified”.

set_path(path: unicode) None

Set the document path.