Chapter 2 · Examples

2.4Switching a Modifier Off

$.modifiers[#Tnpix_Garment].tnEnabled = false

What you should see: the original mesh comes back in the viewport; the conversion is suspended, not lost. Set it back to true and the rebuilt mesh returns exactly as before. Remember: tnEnabled, not enabled.