View Full Version : How do you Un-Instance Objects? (Urgent)
Grooveholmes 04-06-2002, 01:34 AM As the name of this thread Implies, I'm searching for a way to UnInstance Instanced objects. There has GOT to be some way of doing this besides duplicating each little object and deleting the instance. We're talking HUNDREDS of objects here. I just want to select all of them, Hit one button and move on to other things.
Thanks!
|
|
sigma
04-06-2002, 02:02 AM
Ive always wanted to know if there was an easier method.
Someone must know. Wish delete history would do it.
There isn't an easy solution to this problem it seems :( I've looked through the DAG reference and maybe, I'm not sure, there could be a way of doing this via a Mel. , Don't know how, it would require some study...but anyway, I don't know the details of what exactly you want to do by this action and maybe we could find an easy way of doing this if you give me some more details about your scene.
Deepray
04-06-2002, 03:58 AM
Mel is the solution... try something like
for (allselected) to (the end)
duplicate(objetc[for].selected)
delete(object[for[.selected)
end
This is not a real mel. i don't work with mel, but you can search something like this in the mel area at www.highend3d.com.
;)
sentry65
04-06-2002, 04:25 AM
Unless you know mel well enough already, it'll probalby be faster to just select your objects, duplicate them and delete the instances. If it's choking your machine, is there a way to group all theses instances together under one parent and replace a few at a time by shift selecting down the list in the outliner?
Grooveholmes
04-06-2002, 05:23 AM
Yeah, I'm really not very mel saavy (at all!)
Its just something i've been thinking about, I'm trying to export this massive scene into another app. that's got quite a few objects, many of them are instances and I'm not sure how the instances will act when exporting as Obj files? Plus it would be good to know in the future I think. One of the problems is that if i select the whole group of instances and duplicate(just regular Dupe. non-instanced) Maya will only duplicate the first one selected. So I guess it pretty much just wants me to select each one of them one by one? Ugh. :confused:
..and a little OT.....
I know, I know that I reeaaaallly need to pick up mel... but when you come from a heavier art background like i do it all seems to be gibberish and makes no sense. Plus when the projects keep rolling in like this you hardly have time to pick any of it up.
One thing is for sure though after the awgua seminars at siggraph last year I definately see the importance and power inherent in mel.
sentry65
04-06-2002, 05:32 AM
as far as I know, when you export as .obj you should be fine if things are instances. .obj is just strictly a geometry format that I think also supports texture coordinates of some kind though not sure how useful that is when you go into another program.
just make sure all your models are polygons. If you have NURBS you might have to export as IGES. When you import those two formats though, sometimes they are not the same scale or even orientation.
dmcgrath
04-06-2002, 09:27 AM
Can you export them as a DXF? Or will that mess up the whole scene? Also what program are you trying to move the instances object to?
sentry65
04-06-2002, 09:30 AM
dxf is a nitemare - huge huge huge files, long long long importing and exporting times
i'd go with .obj if possible
also make sure you give all your objects a generic material in maya before exporting. Otherwise it will hang maya trying to export maya textures/materials into a generic format like .obj
Grooveholmes
04-08-2002, 10:17 PM
Yeah this stuff has to go into FormZ:thumbsdow
Not my choice:annoyed:
Waboflex
04-09-2002, 08:29 PM
Go to www.kurgan.dk and into the melscripts section. There's a makeUniqe.mel that should do what you're after. It's small, simple and works exactly like Deepray suggested.
Wabo.
Grooveholmes
04-10-2002, 12:00 AM
Awesome Waboflex, Graz.
DimitrisLiatsos
04-11-2002, 04:31 AM
Grooveholmes..thx for making the question about instances!
Waboflex...thx for giving the answer..i had problem with this too!
Asta la vista!!!
CGTalk Moderation
01-13-2006, 03: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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.