...
Code Block | ||
---|---|---|
| ||
sceneNodes = scene.getNodes() for node in sceneNodes: nodeName = node.getName() scene.message(nodeName) |
Renaming Nodes
Add this script to a "Batch Script" editor (F10) and execute it with Script > Run.
...
Code Block | ||
---|---|---|
| ||
objectGroup = scene.getGroup("Object_Group") objects = objectGroup.getNodes() namePrefix = "RealFlow_Object_" counter = 0 for entry in objects: if (counter < 10) : padding = "00"+str(counter) if (counter >= 10 and counter < 100): padding = "0"+str(counter) if (counter >= 100) : padding = str(counter) completeName = namePrefix+padding entry.setName(completeName) counter += 1 |
...
Grouping Nodes
Add this script to a "Batch Script" editor (F10) and execute it with Script > Run.
...