Document

- class Document
The Document node plugin.
Methods
cameras()Return the document's cameras.
Clear the undo/redo stack.
filter()Return the file filter name to use to save this document.
frame()Current document frame.
Is this document the active one ?
path()Return the document path.
Set this document the active one.
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.