this is what i understood from ur last post. Have a look if this is what u want. ( try (destroyDialog showLayer) catch() global showLayer rollout…
From the Help Returns an array of results, one entry per node hit, where each entry is a 2 element array containing the node and the intersectRay re…
id = ($.getmaterialindex true) $.material[id].name I think this is what u r looking for…
Try this: ( for x in selection do ( mat = x.material if(mat != undefined and (classof(mat) == MultiMaterial)) then ( mat.nam…
time:3766 count:1000 time:3047 count:0 Max 2009 32 bit.(On 64Bit Machine) Intel Core 2 (6700) @ 2.66GHz
did u try switch to create mode before running the script. I think that should work if your modifier panel is redrawing a lot. max create mode
This should work but has some side-effects. To make it work remove dg.EditMode = dg.EditMode.EditOnEnter Add this on dg EditingControlShowing args…
just remove the outputfile:(fPath+fName+fType) form render command this was just overwriting the actual lightmap generated with the framebuffer render…
there are two issues with the function:- The map channel 3 is not available in the model changing the filename to filetype. Try this: fn renderLi…
( fn _rightClick sender args = ( case args.button of ( (args.button.Right): format “RightClicked ” (args.button.Left): format “LeftClicke…
hi i ran the maxscript code you have written and when i press button1 i got Unknown property: “text” in undefined so i changed two lines and it work…
the problem is with the object, there is only one vertex with 80% alpha applied to it. the others are no exact 80%. So its selecting only one vertex. …
I think u can use getface to get the position of the two faces then use the length function to get length between them. i’m not in front of my system…
its because you are applying linear_float() to the visibility every time in the loop. Just replace the assignment of linear_float with: –o.visibili…
here a example for dropping controls from one panel to other… ( DotNetForm = dotNetObject “MaxCustomControls.MaxForm” DotNetForm.size = dotNetObje…