inset code is not working
i made this code
but that is not work ~~~
pls what problem ?
today sorry too ~
for i in selection as array do
(
convertTopoly i
subobjectLevel = 4
topFaces = #{}
gfc = if isKindOf i Editable_Poly then polyop.getFaceCenter else meshop.getFaceCenter
for f = 1 to i.numfaces do
(
if (gfc i f).z == i.max.z do append topFaces f
)
i.EditablePoly.SetSelection #face topFaces
i.insetType = 1
i.insetAmount = 200
i.EditablePoly.buttonOp #Inset
i.faceExtrudeHeight = -600
i.EditablePoly.buttonOp #Extrude
clearSelection()
)
Comments
.
Tools and Scripts for Autodesk 3dsMax
thank you for reply , but that is not work still
thank you miauu
i tested this code~
but that is not work still ~
but
max modify mode is work
but in many object , that is very slow
is there good idea ?
.
Check this example. It doesn't require modify mode to be active
perpect good speed
thank you for good code~~
really really fast~