Return the selection name

Hi,

I need my script to loop through the selected objects in the scene and return their name.

I can get the count from selection.count, but I'm stuck there. Please help! :D

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
DaveG's picture

It works great! Thanks so

It works great! Thanks so much. :)

DaveG's picture

Thanks, I'll give it a go. :)

Thanks, I'll give it a go. :)

le1setreter's picture

for i=1 to selection.count

for i=1 to selection.count do (
-- for every object do (print object name)
print selection[i].name
)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.