PDA

View Full Version : How to on/off a modifier in MaxScript?


gohkgohk
10-23-2009, 03:03 AM
How to on/off a modifier in MaxScript?
thx

bkravi
10-23-2009, 04:11 AM
$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
10-23-2009, 10:57 AM
Or all modifiers of a given class.

(getClassInstances turboSmooth).enabled=false

CGTalk Moderation
10-23-2009, 10:57 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.