I just recently started trying out maxscript, and tried to make my own tools for everyday work. I am really really new to this so pardon me if the question is stupid t.t
This is a clone detach alternative since the original EditablePoly.detachToElement do not work like when you pressed it in max and create a new object not in element.
How do i select the new created object without using its actual name like $.Top002
on DetachClone pressed do
(
a = uniquename "Top"
selectedFaces = polyop.getFaceSelection $
polyOp.detachFaces $ selectedFaces asnode:true node:$ delete:false name:(a)
subobjectlevel = 0
)
Swordslayer · 2018-05-15