PpHammer
02-02-2005, 03:49 PM
Hi everyone!
I recently started with Maxscript and I'm currently working on a simple "exporter"-like script. I am exporting al sorts of data (vertex positions, normals etcetc) to a text file. The good part is; it all works! The bad part is; I am reaching some kind of textfile (string? I dunno) limit.
When "exporting" small objects it all seems to work perfectly. But this afternoon I tried my script on a very complex model (lots of faces, vertices etc) and I noticed (after the "edit" function) not everything was listed. When testing the limit on the editor I got an error about "text too long, editor out of space", which seems logical to me. How should I fix this? I still want everything to be exported to a single file. I think I should write or append to the textfile during some of my code. For example after the script retrieved all vertexpositions or faces etc. Or should I be looking into other methods of exporting. Any pointers, tips or tricks?
Thanx in advance!
Pieter
posted this on in the wrong section... sorry! Anyone move it to the correct one?
I recently started with Maxscript and I'm currently working on a simple "exporter"-like script. I am exporting al sorts of data (vertex positions, normals etcetc) to a text file. The good part is; it all works! The bad part is; I am reaching some kind of textfile (string? I dunno) limit.
When "exporting" small objects it all seems to work perfectly. But this afternoon I tried my script on a very complex model (lots of faces, vertices etc) and I noticed (after the "edit" function) not everything was listed. When testing the limit on the editor I got an error about "text too long, editor out of space", which seems logical to me. How should I fix this? I still want everything to be exported to a single file. I think I should write or append to the textfile during some of my code. For example after the script retrieved all vertexpositions or faces etc. Or should I be looking into other methods of exporting. Any pointers, tips or tricks?
Thanx in advance!
Pieter
posted this on in the wrong section... sorry! Anyone move it to the correct one?
