Look into the ‘gw’ methods. These will transform a pixel coordinate in the view (get the mouse position in the view (mouse.pos), rather than on the sc…
theMod[4] does not exist until the sweep modifier has been initialized on the object you apply it to. When you run the code without the parentheses, …
Well, unless your global variables contain heavy data (large bitmaps, huge arrays, etc.) I wouldn’t worry too much about that. Getting lazy about the…
essentially, yes. If you have a global variable “temp” that you use… … and another script comes along and uses the global variable “temp” … …and yo…
keep in mind that if you have any (non-light) garbage collection event, that’ll clear the undo stack as well. See the topic “Manual Garbage Collectio…
My name is only occasionally martijn, but… freeSceneBitmaps() does not free up any bitmap memory allocated by maxscript. so even if you have a ‘myBmp…
I think because he “[wants] to keep the primitive alive instead of becoming mesh or poly”? As for deleting the ‘first modifier’ – make sure whether …
Might be on the base object… or somewhere else on the material somewhere (the parent node in the trackview tree)… without a direct look from somebody …
gotcha… although a CA block shouldn’t make max complain about missing plugins, itself, it may be referencing a plugin somewhere inside it. mat = [b…
RustyKnight: I’ve been able to identify that a plugin has attached “something” to our vray materials and is causing use the missing plugin problems……
try something like this… str = stringStream “” apropos “missing” to:str str = str as string classApropos = (filterString str “:”) classNames = f…
if all you -are- doing is search&replace, though… yes, a command-line utility is probably much faster. Could try with some .net as well, but give…
Possibly, but I don’t think that’s it… OZRay: This script give me a System exception error if I open the file as is. . Presumably, maxscrip…
Back late to the party, but yep… that’s what I’ve got in one of our scripts as well; parameters … ( _autorefresh_donotmodify type:#float ) on a…
That’s a MaxScript limitation through to 3ds Max 2009 at least. Can only drag&drop to/from map/material buttons inside scripted materials/maps. …