Skip to content

Reference

Reference

A reference to another scene file, at any depth (file -rdi).

A reference made by this file (depth 1) is also stored by file -r; the format keeps both in step when the path changes.

Attributes

deferred

deferred: bool

True when the reference is not loaded on open (-dr 1).

depth

depth: int

1 for a reference made by this file, more for one made by a referenced file.

file_type

file_type: str

mayaBinary, mayaAscii, or another translator's name.

Setting path to a .ma or .mb file switches it accordingly, as Maya would otherwise read the file with the wrong translator.

namespace

namespace: str

node

node: str

Name of the reference node (childRN, deps:childRN when nested).

path

path: str

Path as stored, unresolved (environment variables kept, no {n} copy number).

scene

scene = scene