Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
languagepy
group = scene.getGroup("Scene_Nodes")
groupNodes = group.getNodes()
 
for entry in groupNodes:
	if (entry.getType() == TYPE_OBJECT):
	scene.message("Object name: " + entry.getName())