detach as clone


#21

Quest for the right code :grin:


#22

No code for “as clone” in Edit_Poly
Maybe this can serve:

(
b=box()
AddModifier b (Edit_Poly())
AddModifier b (Edit_Poly())
b.isselected=on

bmod = modPanel.getCurrentObject()
	subObjectLevel = 4
bmod.selectByMaterialID = 0 
bmod.ButtonOp #SelectByMaterial
bmod.ButtonOp #DetachFace	
bmod.DetachToObject --"name, if you want"
	deleteModifier $ 1

)


#23

It has no effect on the plane.QQ%E6%88%AA%E5%9B%BE20210712221455


#24

Neither on camera, light…
Add Edit poly to it -one is enough