fn fn_boxRow = ( delete objects local b local k = 0 local rng local pos = [0,0,0] local obj = #() for i = 1 to 10 do ( rng = (random 4 10) …
Well I didn’t spend much time writing that script, its just a test not final code, here is another version without the (objects as array, )its still a…
thx definitely useful info
Trying going about it from another angle by using pflow scripting instead with n 15 3375boxes random size I got it down to (0.062 sec) Time: 0.056 s…
Ok, this is what I came up with (recursive attach script) : 3375 objects 0.45sec instead of 9.5sec so that’s much faster fn quickAttachRec inArr = (…
sure if I add converttopoly after box() its 0.7sec so then its slower then instance, but if I have polyop.attach enabled and do just box() then attach…
Didn’t think about that, but for me instance is slower then creating box(), instance: 0.592sec vs box() 0.444sec, but still of the 10sec 9.5 is the at…
Thx, Yeah, but for my real script every box need to be a different size so wont work with instances.
Here is a bad way to do it (kind of but not really): myTeapot = teapot(); — creates an “undeletable” teapot fn check_if_sel_fn = ( deselect myTeapo…
denisT: what’s wrong with bin writing/reading? f = fopen @”c:/test.bin” “wb” WriteByte f 255 WriteByte f 88 WriteShort f 777 fclose f f = fopen @”c…
Thanks, the fseek works, yeah needed to be 2 for third byte counts from 0. I guess I just need to get better at reading the maxhelp…x)
Very interesting responses, If I try : theArray = #() theArray[1000000000] = 8 3ds max in task manager goes from 700mb to 8.5GB so yeah no good. …