Imported dwg file selection contour line

Good morning.
I am trying to obtain the outline of my selection, in this case I have selected a DWG file and as you can see in the graph I get a BLUE outline, I want to obtain said outline as if they were lines within dynamo. That’s all it asks me. Thank you very much…

Get the bounding box of the object in the view, convert to a rectangle or draw lines using the min and max point.

on some elements it returns null, especially on small elements like up to 2"…
you know why ??

Not offhand. Perhaps an element type or something in a group type?

Do you have a reproducible use case?