Notifications
Clear all
[Closed] Adding a Prefix to selected Objects
Feb 07, 2008 7:37 pm
Hello Everyone,
Sorry for my noob question…but how would you go about adding a prefix to the selected objects in a scene? Like i’d have a button with a specific prefix, and as you click on it, it adds it to the selected object. I can’t get the adding the prefix part to work…
Any help is greatly appreciated
Thanks in advance!
Crono
5 Replies
Feb 07, 2008 7:37 pm
Hi Crono,
thePrefix = "Prefix_"
for o in (selection as array) do o.name = thePrefix + o.name
Should do the trick…
-Johan
Feb 07, 2008 7:37 pm
How about using the tool that has been there for years and is built in.
Tools/Rename Objects
1 Reply