automatic renaming of hundreds of OM objects

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 12 December 2005   #1
automatic renaming of hundreds of OM objects

Hi gents,
Is there a quick way using Xpresso to automaticaly renaming hundreds of objects in the OM? Let me clarify. I┤m using Jenna┤s Allie. I have 2400 spheres, and when doing current state to object (to export my spheres to do some dynamic sim), all the spheres under the new null have the same name. How do i go about renaming them? "sphere1" "sphere2" ...you get the idea.
Surely there┤s a way using Xpresso, or maybe C.o.f.f.e.e.?

thanks in advance.
Lu
 
Old 12 December 2005   #2
Rui did a find & replace plugin sometime ago that i'm pretty sure had a sequential rename function in there.

Otherwise yes it can be done with a coffee script. Maybe rui could chip in and let us know.
__________________
The Third Party | Homepage | My Reel
"You need to know what you're doing before you start, and to start because you need what you're doing."
 
Old 12 December 2005   #3
Hi,
try this: http://www.bonkers.de/download/xp_indexer.c4d

Copy / Paste the object named index in your scene and place it as the first object above the to be renamed objects (just like in the xp_indexe.c4d file). Then enable the Xpresso tag (it will disable again automaticaly) and press "a" to refresh the scene.
Cheers
Bj÷rn
__________________
- www.bonkers.de -
The views expressed on this post are my personal opinions and do not represent the views of my employer.
 
Old 12 December 2005   #4
In Expresso alone it could also be done with an iterator or a link-list node(where you can dragdrop your objects when they are not in the same hierarchy).
then you would cycle through the link -list & use the string-functions to do the name operations.
If you have DiTools,
Ditools has some wonderful string-operation nodes.
*Edit:
--opps--- Srek has already the perfect example ;-)


Olli
__________________


 
Old 12 December 2005   #5
cheers guys,
will try your solution srek. thanks as usual.

Luis
 
Old 12 December 2005   #6
Srek,
tried it already, works like a charm!
Thanks
Luis
 
Old 12 December 2005   #7
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ę2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:47 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.