PDA

View Full Version : convert instance to duplicate??


steveblake
02-04-2003, 09:42 AM
Hiya

Is there a way to convert an instance to a duplicate?

I have some 400 characters in a scene, instanced over a surface and I'd like to go in and tweak some 'hero' characters.

At the moment the animation I key on the instances is applied to all the other instances in the scene... Not a bad thing for the majority of the characters (it's a crowd scene) - it's just that I'd like to tweak a few in front of the camera; In fact they have to follow the crowd then split off...

...:shrug:

many thanks

MasonDoran
02-04-2003, 09:44 AM
just duplicate the instance as a copy...without any in or out connections

steveblake
02-04-2003, 09:50 AM
Genius!

:beer:

Selim
02-04-2003, 07:16 PM
You can also delete history from instance.

steveblake
02-04-2003, 07:39 PM
Selim you're a Double genius...!!

I couldn't ask for more...

:thumbsup:

MasonDoran
02-05-2003, 07:39 AM
delete history does not convert an instance (because they share the same shape node)... :( i wish it was that easy

Selim
02-05-2003, 08:46 AM
..sorry......my mistake :(

steveblake
02-05-2003, 08:51 AM
oh well...

playmesumch00ns
02-06-2003, 12:52 AM
just make many duplicates of the shape node, and connect them to each of the transform nodes that your instancing created

gundog
02-06-2003, 04:49 AM
credit to Soren 'kurgan' Jacobsen

*************************************************
// makeUnique
// v1.0beta
// March 3 2000
// Soren 'kurgan' Jacobsen
// kurgan@kurgan.dk (suggestions/bugreports welcome)
// http://www.kurgan.dk/
// kurgan@kurgan.dk
// ICQ: 31301694
// mobile: +45 40971688

global proc makeUnique()
{
string $selectedObjects[]= `ls -sl`;

for ($current in $selectedObjects)
{

select $current;
string $tmpName[]= `duplicate -un`;
select $current;
delete;
rename $tmpName[0] $current;

}





}
**********************************************

garbagemonkey
09-08-2003, 07:14 PM
i'm sorry
I am new to mel
I had the same problem as this fellow, and I was hoping this bit of script would solve everything perhaps. could you give me a little more instrution though. I tried typeing it in the script editor and nothing happened at all.
selection procedure or something?
thanks

noxy
09-08-2003, 08:13 PM
another good one:

Download the bonus tools from Alias for Maya 5, under the modeling menu there's a "convert instance" command.

There's tons of fun stuff in the bonus tools, including my favorite "convert edges to curve".

Noxy

CGTalk Moderation
01-14-2006, 08:00 AM
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.