Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reading dxf problem with hatch

1 REPLY 1
Reply
Message 1 of 2
Anonymous
489 Views, 1 Reply

Reading dxf problem with hatch

When I try to open the dxf file created by my custom software in ACAD MAP I get

 

 

The following error was encountered while reading in HATCH starting at line 2534:

Error: expected group code 10

Invalid or incomplete DXF input -- drawing discarded.



I assume I am doing something wrong while creating the dxf,
but I can not figure out what it is. Can you help me?

 

This file opend in LIBRECAD runs perfect... AutoCAD does not read it.

1 REPLY 1
Message 2 of 2
Alfred.NESWADBA
in reply to: Anonymous

Hi,

 

welcome @forums.autodesk.com !

 

Can you show how's the DXF structured in your code (or upload the DXF as whole file)?

What I would do in such cases: create a hatch in AutoCAD, save that as DXF and compare the codes in the hatch-entity.

I have attached a sample of a hatchentity-DXF as textfile.

 

HTH, - alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost