View Full Version : Urgent!

02 February 2005, 11:15 PM
i have an urgent problem to be solved. i have a 16 groups on my file and i want to export them at once i.e in one selection and save automatically as .osg file but as individual files. can it be done in max script? how do i do it?
please reply sooon my ead line is thursday for the project submission and i have to export 1000 groups individually.

02 February 2005, 04:18 AM
something like this..

savepath=getSavePath() -- or savepath="C:\\"
if savepath!=undefined then
for g in sel where isGroupHead g do
select g
exportFile (savepath+"\\"".osg") selectedOnly:true

CGTalk Moderation
02 February 2006, 05: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.