FYI, the x/y/z components of a Point3 value can be accessed via an index – so you can use a for-loop instead of repeating your tests for all three axe…
Yeah, but that depends on what the original poster is actually looking for – If each object just needs one material with a specific name, then there’…
DarkEdge, do you just want to apply basic materials with matching names to objects? If so, that’s pretty simple: for obj in selection do (obj.materi…
You can also tell the dotNet system to do its own specific clear-up, this might do the trick: gc light:true (dotnetClass “System.GC”).Collect() If t…
Try using the second script from that thread, that’s the one that worked for me: splinterD: ok im not sure if i understand the problem or what…
Could you post the script too, or a link to it? The line-number for the error you give there (line 3) doesn’t appear to match up with anything untowa…
Could you give us the full error-print from your Listener, with the line-numbers etc? I just tried that script on your data, and it worked fine for m…
I posted a more complicated solution earlier (still awaiting moderation) but that works nicely
This seems to do the trick for me – open the bitmap as a file-stream, then copy it into a memory-stream: rollout testyroll “” width:300 height:300 ( …
Here’s a simpler method I’ve just been using: ( local filename = (whatever) local objNames = #(whatever) — Collect list of objects in scene before…
That -does- look puzzling… The shot on the right, is that in-viewport or a render? (I don’t think you mentioned that detail) Perhaps try comparing …
That second string in the array is failing to convert to an integer because it has a line-end character at the end – see how its the quotemark is on t…