I have the following error in this MAXSCRIPT 3DMAX script
SCRIPT OF THE 3DMAX PROGRAM
[![ERROR MAXSCRIPT][1]][1]
-------------------------------------------------------------------------
--Detaches all polygons of selected objects to separate nodes, with the option of resetting their transform/pivot and randomizing wirecolors.
--Faster detaching method originally by Panayot Karabakalov aka "Anubis" @ Scriptspot.com
--written by Christoph Bülter
-------------------------------------------------------------------------
rollout detacher "Poly Detacher" width:162 height:150
(
button btn1 "Detach All" pos:[36,27] width:60 height:18
on btn1 pressed do
(
obj = selection[1]
for p = polyop.getNumFaces obj to 1 by -1 do
polyOp.detachFaces obj #{p} delete: true asNode:true name:"Object"
)
)
---------------------****WINDOW****-----------------------------------
-------------------------------------------------------------------------
detatchWindow = newRolloutFloater "Poly Detacher" 200 150
addRollout detacher detatchWindow
rumtime error