Page 1 of 1

TdwgReader fails to open this file

Posted: 14 May 2019, 10:39
by KKesslau_SEMA
Hello there,

we encountered the problem that the TdwgReader fails to open/read this specific dwg-file:
https://www.heinze.de/cad-manager/18985642/0/

The file format reads as AC1014. The problem seems to lie within this file, because we can import other DWG-files with AC1014 without a problem. We converted this file to AC1027 and it worked without a problem. But not all of our costumers have for example AutoCAT LT to convert the files.
Opening the file in a viewer (i used Autodesk DWG TrueView 2016 and 2019) also works.

I debugged the import and it seems that the error occurs at

Code: Select all

TdwgReader.ReadObjects
in the Unit DWG.pas.

Can you look into it?

Thanks in advance,
Kevin

Re: TdwgReader fails to open this file

Posted: 14 May 2019, 19:06
by support
Hello Kevin,

Thank you for the file.

We could reproduce the Access Violation error when reading this file, it occurs in a TdwgDataBase.ReadSubEnts procedure (DWG.pas). I have forwarded the problem to CAD VCL development team by opening a support case.

Mikhail