Notifications
Clear all

[Closed] Multi selection subdivide

macroScript PolySubDivide
category:“Modeling”
toolTip:“SubDivide on/off”
(
$.surfSubDivide = not $.surfSubDivide
)

That is my script for now that turn on/off subdivide in max.
But it works only with one object selected.

How can I get it to subdivide on/off all objects that are selected.

2 Replies

macroScript PolySubDivide
category:“Modeling”
toolTip:“SubDivide on/off”
(
for obj in getCurrentSelection() where classOf obj == Editable_Poly do obj.surfSubDivide = not obj.surfSubDivide
)

:)RH

Thanx, works perfect!!!