PDA

View Full Version : file size limit?


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?

Rockin
02-03-2005, 12:24 PM
Go to customize>preferences>Max script>
change the initial heap allocation to more MBs... it should work

this was not an easy one.. i had some trouble myself

PpHammer
02-03-2005, 01:17 PM
Hi Rockin! Thanx!

it worked! Had a small problem in my script as well. Seemed it always displayed the .txt file when available instead of the current/last results. Everything works like a charm now.

Thanks again!
Grtz

mynewcat
10-10-2005, 11:57 AM
I know this is an old thread - but I just changed the initial heap size to 100 meg and it still wont load a stinking 500k file!

ngnngng

It's a sccript created with Bobo's BFF utility.

someone needs to be punished for this!

edit: d'oh! turn off the other version of Max at it works fine!

CGTalk Moderation
10-10-2005, 11:57 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.