Hi guys. I want to add a modifier right after an object was created. Getting this done via callback seems impossible since Max crashes every time i try to add a modifier. Any ideas why? Example works until you comment in the "addModifier" line.
Hi all, We've run into some issues with maxscript's event callback mechanism. It doesn't seem to have an event for after all items in the "queue" have been deleted or added. Backstory: we have a dotNet listview that displays objects, and some of the object's properties. When the user deletes or adds new items, the list…
Why are you looping while an object is being created? That would probably slow things down for the user. I feel like I need a large snippet of code to help you better. What are you doing to the object when it is done being created? You can call objects[objects.count] to get the last object created. But that's only reliable…
Afaik the easiest way is to save the sfx material to a mat file and load that (via loadTempMaterialLibrary). Alternatively you could directly access the windows/buttons via HWND, but that's super hacky (might not work right across Max versions). To make it the default material applied to all new model primitives in the…