chamfer modifier

hello there

is it possible to make a script that enables or disable all chamfer modifiers at once in a scene? this would be very handy, because snapping with it enabled is hard and then you forget to enable it again before rendering...

thanks in advance and best regards
themaxxer

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
pixamoon's picture

`

hi, you can try this:

--to enable/disable
for o in getclassinstances Chamfer do o.enabled = true -- or false
 
--to enable/disable in viewport only
for o in getclassinstances Chamfer do o.enabledInViews = true -- or false
miauu's picture

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.