aaandres: maps = join #() mat.maps) doesn’t seem to work for non standard materials like vraymtl etc maps = (for p in getpropnames mat …
another one clearlistener() format ” in: % ” arr do ( for index=arr.count to 1 by -1 do ( case of ( (classof arr[index] == array):…
inputArray = #(“Item1”, #(“Item2”, “Item3”, #(“Item4”, #(“Item5”, #(“Item6”)))), “Item7”, #(“Item8”, #(“Item9”, “Item10”))) fn addnext n = ( loc…
fn descentLevel node = ( level = 0 while (node = node.parent) != undefined do level += 1 level ) fn getChildrenRecursive node = ( local childs…
I’ve tried to get existing tooltip messages using sendmessage WM_GETTEXT but with no luck. What else need to be done to make it work? focus, cursor po…
I’m sorry, but what top code are you talking about? It must be my poor english, but I have no intent to create any mesh whatsoever. I want to pass ma…
Well, the question is really about determining ValueMetaClass of Values that ExecuteScript returns. What if I want to pass TriMesh that I got from sna…
Wonder if it is possible to determine Value class before casting? I mean anything better than the Tag.Name comparison. static public IMesh GetMeshFr…
Is there a way of getting current mxseditor line without getting whole document first? int SCI_GETCURLINE = 2027; int SCI_GETLINE = 2153; I tried …
I have a cpp function exposed to maxscript via def_visible_primitive and it leaks memory only if used in a loop (it doesn’t leak at all if I call it h…
this thread is a bomb. thanks guys! wonder what had happen to code blocks that Klvnk had posted over the 2015 year… seems like the description is in p…
Has anyone succeed in casting to IIUnwrap?
Hi, Si. Did you manage to solve it? How do we set checkbox bool values in ParamBlock2? /a>
Is there anything I can do about absence of c++ IntelliSense in VisualStudio 2015upd3 ? It is enabled in cpp settings, but doesn’t work. There’s nothi…