I have a dwg file. I am attaching the dwg file here.
The structure goes like this -
One Polyline contains a Polyline Group, the group contains a polyline and Text.
I need to delete the oute polyline and as a result, the group should also be deleted.
But, when I try this, the outer polyline gets deleted, the text inside the group polyline gets deleted, but the group polyline does not.
I am attaching the code also.
Could you please provide me the code how to delete the group polyline?
The whole process is dynamic.
I am supposed to select any outer polyline, that should find the properties and corrsepondingly find the group polyline and text. Then all 3 should be deleted.