Notifications
Clear all
[Closed] Quick Question: Add modifier with MAXScript?
Feb 13, 2012 5:22 pm
Hi how do I add and remove a modifier with maxscript?
Let’t say I have a box ($Box017) and I want to add an Bend modifier to it then also later I want to remove the same modifier, how do I do that?
thanks in advance:)
2 Replies
Feb 13, 2012 5:22 pm
Hi Patan77,
you could try this:
myBend = Bend()
modpanel.addmodtoselection myBend --adds the bend modifier to the top op the stack
/*
addmodifier $Box017 myBend --this will also work
*/
deleteModifier $Box017 1 --if the modifier is the first in the stack
Cheers,
1 Reply