|12 December 2005||#1|
[insert creative title]
automatic renaming of hundreds of OM objects
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.
|12 December 2005||#2|
The Third Party
Join Date: Sep 2002
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.
|12 December 2005||#3|
Bj÷rn Dirk Marl
Maxon Computer GmbH
Join Date: Sep 2002
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.
- www.bonkers.de -
The views expressed on this post are my personal opinions and do not represent the views of my employer.
|12 December 2005||#4|
Join Date: Jul 2002
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||#7|
Join Date: Sep 2003
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.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|