Add this script to a "Batch Script" editor (F10) and execute it with Script > Run.
Find all polygon objects in a group named "Scene_Nodes" and print their names to the "Messages" panel:
Code Block | ||
---|---|---|
| ||
# Get the group "Scene_Nodes" and its contained nodes group = scene.getGroup("Scene_Nodes") groupNodes = group.getNodes() |
...
# Loop through every node and filter out the objects for entry in groupNodes: if (entry.getType() == TYPE_OBJECT): # If an object was found print out its name scene.message("Object name: " + entry.getName()) |