Object name while OBJ exporting

 From:  Michael Gibson
1832.2 In reply to 1832.1 
Hi Luca,

> There is a way to rename the object inside the OBJ file
> (maybe with filename001, filename002...)?

Well, an OBJ file is just a regular text file that you can edit... You could do something like search & replace to change the names.

It also would not be very difficult for me to write a small program for you that would process the file like that, but it is late over here right now so I'll have to look at that tomorrow.


> Another little things is that at the end of exporting the choosed
> object are not selected.

Hmmm, yeah I see - it is a side effect of the original objects being hidden when the meshes are being displayed. Things that are hidden have selection removed from them.

Tomorrow I'll also take a look at fixing that for the next v2 beta so it remembers the selection.


> So I cannot Hide or delete and I have to select it again.
> Someone have some tips for that? Or a totally different workflow?

Maybe hide all the other objects except for the ones you want to export? That way you can more easily re-select them with Ctrl+A if they are the only visible objects.

You can set up this script on a keyboard shortcut to isolate objects:
code:
script:moi.geometryDatabase.invertSelection(); moi.geometryDatabase.hide(true);

That will hide all objects other than the selected ones.

- Michael