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 Tools Display Modes
  12 December 2005
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" get the idea.
Surely there┤s a way using Xpresso, or maybe C.o.f.f.e.e.?

thanks in advance.
  12 December 2005
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."
  12 December 2005
try this:

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.
- -
The views expressed on this post are my personal opinions and do not represent the views of my employer.
  12 December 2005
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.
--opps--- Srek has already the perfect example ;-)


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

  12 December 2005
tried it already, works like a charm!
  12 December 2005
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
Society of Digital Artists

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

All times are GMT. The time now is 07:19 AM.

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