This section illustrates how to use the Maya API to select and query items in the scene.
For selection in Viewport 2.0, see Porting Selection from Legacy Default Viewport to Viewport 2.0.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.