Detach as Reference

hello
simple script wanted to detach polygons to reference object (and keep source object also as reference).
the only difference between two objects is Invert parameter in Turn To Mesh modifier.

illustration is attached

AttachmentSize
detach_as_reference.png52.12 KB