View Full Version : Import only a few objects from a .ma file?

12 December 2010, 10:38 AM
Again this basic stuff I can't seem to handle...

I have a big scene which I'd like to import only a few objects from. I don't want the overhead of exporting them each time I make a change for importing. There's this great mechanism of referencing, but I don't want a dependency between the files, and I'd like each to have its own instance of the object with different properties.
Any ideas?

12 December 2010, 02:41 PM
I don't want the overhead of exporting them each time I make a change for importing. .. I don't want a dependency between the files.

As far as I can tell, you're contradicting yourself here. Either the changes propagate in which case there is a dependency, or they don't, in which case there's no need to "export[...] them each time I make a change".

Maybe you could write up a use case that explains what you want better.

I would think that you might be able to get (close to) what you want by exporting the scene elements as offline files.

12 December 2010, 03:55 PM
Let me give a specific example:

I have two instances of maya m1, m2, each works on a file or respectively. is a big scene with N objects. is some scene with a script which imports x << N small objects from, and change them (without touching the original objects). The loop of work goes like this:

1. I make changes in m1 to the x small objects, and save the scene.
2. Switch to m2 and run the script.

I'm not sure how to accomplish this, since I can only import a whole scene. I can write a script that would first export the selected x objects from to some temporary file in the end of step one, and then in step 2 I'll import from this temporary file, but I would have liked to skip this overhead of a temporary file.

12 December 2010, 05:05 PM
Applying the edits made in to is simple; you can use the offline edits for that. There's no temporary file, only and You only have to create once. You don't even need to reference anything, you Apply via Import.

12 December 2010, 04:13 PM
I'm not sure what you meant by off line edits, but if I import as is, it would import everything - all the N objects while I need only x specific objects.

12 December 2010, 06:13 PM
well, yes, of course. There is no partial import. As I said, you must create first. If you were able to import a partial scene there would be no need to transfer the edits.

I was referring to

File->Export to Offline File...
File->Assign Offline File...

CGTalk Moderation
12 December 2010, 06:13 PM
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.