ThinkGeo.com    |     Documentation    |     Premium Support

.dwg CAD file not importing correctly

Hello,

I have noticed that ThinkGeo 13 has much better support for importing .dwg CAD files into the map compared to ThinkGeo 10.

Unfortunately I have recently come across a .dwg file that is unable to be imported into my map and causes TG13 to throw an error.

It seems like it may be related to a bad/invalid value relating to an angle?

It is not particularly urgent as there is a workaround I can do to successfully import the .dwg file by converting it to a different format beforehand.

I thought I would share the .dwg file in question however so that you can take a look at it if you wanted to and help improve the CAD importing side of your code.

I have attached the .dwg file in question (it’s within the zip folder due to being an unsupported file format), and the error that gets shown when I try to import it into my TG map.

DWG file.zip (2.0 MB)

Hopefully this is of some use to you.

Kind regards,

Luke

Thanks Luke,

We appreciate you sharing the .dwg and we will take a look and see if it’s a scenario we can support or an issue in the .dwg. I will let you know what we find out.

Thanks,
John