TdwgReader fails to open this file

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
KKesslau_SEMA
Posts: 8
Joined: 09 Mar 2018, 14:43

TdwgReader fails to open this file

Post by KKesslau_SEMA » 14 May 2019, 10:39

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

support
Posts: 3271
Joined: 30 Mar 2005, 11:36
Contact:

Re: TdwgReader fails to open this file

Post by support » 14 May 2019, 19:06

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
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply