Get Elements from a importedInstance( .dxf file)

Hi There
I’m trying to get elements from a link CAD (.DXF file ), so i can copy all lights in a DXF file to Revit, and save me a lot of time doing this manually.

I have tried to use dynamo library DWG, but it does no seems to be working

Does anyone know how to do this?

Thanks

DXF is not DWG, maybe that is the problem?

Hi,
at first glance the method used in the code to detect the location of the LinkDWG package is not compatible with the latest versions of dynamo :face_with_diagonal_mouth: