Notifications
Clear all

[Closed] How to on/off a modifier in MaxScript?

How to on/off a modifier in MaxScript?
thx

2 Replies

$Sphere01.modifiers[2].enabled = false – turn off 2nd modifier
$Sphere01.modifiers[2].enabled = true – turn on 2nd modifier

Look at the maxscript documentation – Modifier Common Properties, Operators, and Methods

it is explained there in detail with examples.

 PEN

Or all modifiers of a given class.

(getClassInstances turboSmooth).enabled=false