pymel.core.general.Scene

digraph inheritanceb38353ff00 {
rankdir=TB;
ranksep=0.15;
nodesep=0.15;
size="8.0, 12.0";
  "Scene" [fontname=Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans,URL="#pymel.core.general.Scene",style="setlinewidth(0.5)",height=0.25,shape=box,fontsize=8];
}

class Scene(*p, **k)

The Scene class provides an attribute-based method for retrieving PyNode instances of nodes in the current scene.

>>> SCENE = Scene()
>>> SCENE.persp
nt.Transform(u'persp')
>>> SCENE.persp.t
Attribute(u'persp.translate')

An instance of this class is provided for you with the name SCENE.

Previous topic

pymel.core.general.PyNode

Next topic

pymel.core.general.SubdEdge

Core

Core Modules

Other Modules

This Page