claude666: “should” fix it, then fix it for all other versions and remember to fix it for all future versions :banghead: Or drop it in at the ri…
Broken in 2013/64 too.
Wow, now that’s a bit of magic! Any idea why this happens? It reminds me of this:
By the way, I would say that generally the idea of nesting functions should not be encouraged. Even if it is syntactically correct, it has no real ben…
Is this more or less what you’re after? fn getChildren obj = ( local tmpArr = #() for c in obj.children do ( append tmpArr c join tmpA…
How about trying to find closed edgeloops and then choosing the one with the shortest length over the edges?
Can you post a more complete bit of code which shows the failure? And a little pedantic note, you for loop can be a bit simpler for (int i=0; i <…
If you attach the visual studio debugger to the 3dsmax process, it should pop up once the exception is thrown. Regardless of breakpoints.
The first thing to find out would be what is actually null: b, theColor, or theColor.X?
I think it just looked wrong, instead of actually being wrong Because any time a long value is converted to a string, the L is appended. Same for the…
Unless you need these values as a string, it shouldn’t a problem. It’s the formatting that adds the d0/L to the string, they’re not part of the actual…
You can read all bytes from the FileStream and convert that to a (.NET) string. .NET strings convert to mxs strings automatically, so you can call exe…
Yes, but the clr files are now clrx, xml format
denisT: do i have every time parse .clr file to find a specific color? i can certainly do it on the tool load or on max startup, but i don’t want to…
You’ll have to define your script as a macroscript (*.mcr by convention). See