Navigating the Scene Graph

 
 
 

Showcase exposes models, lights, materials and all other objects in the scene as a navigable hierarchy of nodes. By navigating the scene graph you can manipulate scene objects directly, based on node IDs. The sample add-ins presented here illustrate how to traverse the scene graph and work with node IDs.

Workflow, Samples and Tools

Workflow Related samples and tools Details
Obtaining a node ID Python:
  • ObjectInformation.py
Demonstrates how to obtain the node ID of a selected object, and its materials.
Traversing the Scene Graph Python:
  • AssignPriorityCustom.py
Traverses scene graph and selects objects by assigned priority. Also adds menu items allowing you to change object priorities.
Manipulating the Scene Graph Python:
  • DeleteEmptyGeometryCustom.py
Traverses the scene graph and deletes "empty" geometry nodes; i.e. LodGroup nodes that lack children.