detach as clone


Quest for the right code :grin:


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

AddModifier b (Edit_Poly())
AddModifier b (Edit_Poly())

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



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


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