The Maxsurf Automation interface provides facilities to save designs and export IGES file types. The following code samples will run if placed in the generic code shown on page 14.
To save a file under the same name, use;
msApp.Design.Save
To save a design under a different file name, use the SaveAs method, specifying the path and filename and whether the file is to overwrite an existing file name (Boolean).
msApp.Design.SaveAs "C:\Documents and Settings\UserName\My Documents\TestSave.msd", True
To export a design in the IGES format, use the ExportIGES method, again specifying the file and pathname, as for the save as method.
msApp.Design.ExportIGES "C:\Documents and Settings\UserName\My Documents\IGESTest.igs"