Not just saving it to a variable, deleting it afterwards, too. Launch task manager to see the RAM usage of 3dsmax process and see it rising with ( local t = Teapot segments:64 for i = 1 to 1000 do t.mesh.verts.count) and now compare it to ( local t = Teapot segments:64 local m -- one variable to hold them all, outside the…
Hmmm, and what about something like this? ( ::drawInfoNodeCallback = undefined unregisterRedrawViewsCallback ::drawInfo local stringFormat = (dotNetClass "System.String").Format local lineHeight = (getTextExtent #I).y + 2 local meshInfo local meshObj struct meshInfoDef ( yellowish = color 255 199 71, grayish = color 165…
You could simplify the code quite a bit, skip the .mesh part and only check deformable objects (you are already skipping shapes, you can skip primitives with no modifier apllied, too) and avoid creating so many stringstreams and doing things you can do once multiple times. Also the unit conversion as you do it would work…
Yeah miauu, your video explain it well. What I did before was typing the mouse.buttonStates on the listener and execute it while holding my left/mid/right button, all return #{ } or #{3} when holding the right click. Your solution does more simplified the vp redraw. But I'm just curious when pan/rotate/zoom, isit possible…
That sounds great, but Max throw me en error saying unable to convert:0 to type:string by highlighting the local subObjsStrExt = (getTextExtent subObjsStr).x :(
Guys, on this few post before I posted a code about utilizing a dotNet stuff. Isit possible to extract it to work as a function without the rollout?on click_test open do ..this bits, what should I replaced it with if Ii want to use it without a rollout? or is it even possible? I run out of a keyword to search on the…