pymel.core.system.iterReferences

iterReferences(parentReference=None, recursive=False, namespaces=False, refNodes=False, references=True)

returns references in the scene as a list of value tuples. The values in the tuples can be namespaces, refNodes (as PyNodes), and/or references (as FileReferences), and are controlled by their respective keywords. If only one of the three options is True, the result will not be a list of value tuples, but will simply be a list of values.

Parameters:
  • parentReference (string, Path, or FileReference) – a reference to get sub-references from. If None (default), the current scene is used.
  • recursive (bool) – recursively determine all references and sub-references

Previous topic

pymel.core.system.internalVar

Next topic

pymel.core.system.launch

Core

Core Modules

Other Modules

This Page