You can either place the DWG with the 'Drawing Tool' found in the tool bar and then 'explode' it or you can 'Merge' the DWG form the 'FILE menu > External Content' - the you won't need to explode.
Either way you should end up with the DWG in you plan and you should be able to 'Magic Wand' the contour lines.
However those lines need to be continuous with no gaps (no matter how small).
Can you post a screen shot of the contour you are trying to magic wand or better still also post a link to the original DWG file?
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11