MoI discussion forum
MoI discussion forum

Full Version: Is there an OBJ Export script?

Show messages: All  1-4  5-7

From: ed (EDDYF)
24 Feb 2021   [#5] In reply to [#4]
Michael -

I got two scripts working based on your forum reference - one for saving a low poly OBJ, and one for saving a high poly OBJ.

However the scripts save every object on the screen. Is there a way to save only the objects I've selected prior to running a script?

Ed Ferguson
From: Michael Gibson
24 Feb 2021   [#6] In reply to [#5]
Hi Ed, yes you can call moi.geometryDatabase.fileExport() instead of moi.geometryDatabase.saveAs(), it will write only the selected objects out. It takes the same parameters as saveAs().

- Michael
From: ed (EDDYF)
24 Feb 2021   [#7] In reply to [#6]
That works perfectly. This will save a lot of time. Thanks for the awesome support Michael!

Ed Ferguson

Show messages: All  1-4  5-7