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.
Another terrible idea is to use your original callback to start a dotNET timer control, with a function that keeps pinging isCreatingObject(). Once it's false it adds the modifier and removes the timer.
Works for me if I add Box() to the end of the script. It doesn't work with creating primitives in the viewport. You can try using NodeEventCallback and use the delay parameter. The only problem is that if another node is added before the unwrap is created it won't add the unwrap to the previous node. if callbackItem !=…
Thanks Monster!! I did it like you said via a dotnet timer and it works great! The only thing i miss, is a function to show all active dotnet eventhandler currently running. Because i'm not 100% sure if the timer is deleted completely. Anyway, it works! Here is the code. If you are interested why i do this: i use a script…