It would be good to have the possibility to download this whole forum, even in plain text.
filenamefrompath (x.material.diffusemap.filename) File Name Parsing
One simple way of doing it, while avoiding working with different objects classes, transforms and modifier stack would be to snapshot the node and get…
If you just need to append some text to a file, I would use “a+” mode: for j = 1 to 256 do ( stream = openfile @”C:\test.csv” mode:”a+” encoding:#ut…
“…Only two things are infinite, the universe and human stupidity, and I’m not sure about the former…”
Have never done this, but see if this code works. ( fn GetStartEndKeys = with undo off ( mapkeys objects (fn CollectKeys t k = (append k t; t)) (…
Yes, I think I remember it MXS 2017 ‘For Loop’ performance 3ds Max SDK and MaxScript Do you guys get the same ‘for loop…
Yes, you can put ok or 0 or 1 or ? and all will free the heap. But there is still a penalty in the time, I guess it forces the gc() to kick in somewhe…
Try this: ( newLayer = “SA_TEST” layer = layermanager.getlayerfromname newLayer if layer == undefined do layer = layermanager.newlayerfromname…
I could finally reproduce it in Max 2012 and 2013. Could not find a fix for this in Max 2012, but weirdly, in Max 2013, deactivating “Load/Save Scene…
It must be something on your end. Tested on Max 2010 to 2019 and the results are pretty much the same, no leak at all with 10M iterations. time:959 h…
Yes, pretty common, not only in structures. ( fn myfunction_1 MY_VARIABLE_1: mY_vAriAbLE_2: = ( ) print #my_variable_1 print #my_variable_2 …
select (for j in geometry where iskindof j vrayproxy collect j)
The visual “improvements” are terrible and the functionality is even worse.
There are several ways to do it. You can clone the object and delete faces, create meshes, etc. Here is one simple option: ( — obj: is the combine…