# .dwg CAD file not importing correctly

**URL:** <https://community.thinkgeo.com/t/dwg-cad-file-not-importing-correctly/10347>\
**Category:** WinForms\
**Created:** [July 5, 2023, 1:20pm UTC](https://community.thinkgeo.com/t/dwg-cad-file-not-importing-correctly/10347 "2023-07-05T13:20:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luke\_Orpin](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/l/ee59a6/32.png) [@Luke\_Orpin](https://community.thinkgeo.com/u/Luke_Orpin)\
**Post date:** [July 5, 2023, 1:20pm UTC](https://community.thinkgeo.com/t/dwg-cad-file-not-importing-correctly/10347/1 "2023-07-05T13:20:52Z")

</div>

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](https://community.thinkgeo.com/uploads/short-url/r4rQDMpRqhfwm66kixCZPCRClpa.zip) (2.0 MB)

 ![image](https://community.thinkgeo.com/uploads/default/original/3X/4/b/4bfb2dd9399364e882a69137a24449941e6204cf.png)

Hopefully this is of some use to you.

Kind regards,

Luke

---

<div class="post-metadata">

**Author:** ![ThinkGeo\_Products](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/t/6de8d8/32.png) [@ThinkGeo\_Products](https://community.thinkgeo.com/u/ThinkGeo_Products)\
**Post date:** [July 5, 2023, 6:39pm UTC](https://community.thinkgeo.com/t/dwg-cad-file-not-importing-correctly/10347/2 "2023-07-05T18:39:23Z")

</div>

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
