Malkalypse: Maybe I did a bad job explaining what I need. Okay, take this as an example: — Create a point helper with a random position and rotati…
Are you try coordsys context?
Thanks haavard for this replacement snippet. Also thanks to lo for “ReleaseHandle” suggestion. Test form code if ::frm != undefined do try(frm.Close…
I just wonder can regex produce better solution for this kind of things?
In scripts > startup folder you can find code for already implemented Bitmap to VRayHDR solution by ChaosGroup. Find vrayutilis.ms file and conver…
Don’t provoke Denis. He is one of the most respected members of this forum, I mean real “Guru”. The correctness of of his code is 99.99999999999999999…
Pure truth:thumbsup:
Denis always put example code inside comment block ei. /* and */. Remove these from the code and you will see (after you run it) two planes and two bo…
You can simply use fn fn setMEditMat slot: matName: libFile: = ( if (matLib = loadTempMaterialLibrary libFile) != undefined do ( if (mat = matLib…
chewbacca007: I’m trying to load a material from a Library .mat file. No success. Seems like it should be pretty straight forward. Here’s the error…
fn collectLayerNodes = if (cnt = LayerManager.count-1) > 0 do ( local getLayByName = LayerManager.getLayerFromName local getLay = LayerMana…
I did’nt know that. I often add prefix to the layer name “#” (“#NewLayer”) which will be placed above layer “0” in layer manager list. That’s why I th…
denisT: colored in red should be fixed. so it’s probably not final. You need to explain what is wrong now? Code works fine:hmm:
That’s it! Denis, You need to write the book “MXS Hidden Gems” immediately! It’s about time. I hope that all members agree with me. BTW this is the l…
oops! I did’nt check layer manager. Yup. You are right