Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

dxf file opening error #458

Open
lianzaozi opened this issue Jun 4, 2023 · 3 comments
Open

dxf file opening error #458

lianzaozi opened this issue Jun 4, 2023 · 3 comments

Comments

@lianzaozi
Copy link

dxf file opening error

Screenshot of error displayed when the dxf file is opened
image

test dxf file
test.zip

Open the screenshot using CAD software
image

@DavidWishengrad
Copy link

Command: XDLIST
Initializing...
Select object:
Enter application name <*>:
No Xdata associated with Application Name(s).
Object has 16383 bytes of Xdata space available.

There is no data on that object.

@lianzaozi
Copy link
Author

Command: XDLIST Initializing... Select object: Enter application name <*>: No Xdata associated with Application Name(s). Object has 16383 bytes of Xdata space available.

There is no data on that object.

Thank you very much for your reply. I am not very familiar with dxf. May I ask how can I operate to make the drawn dxf be correctly interpreted by netdxf

@haplokuon
Copy link
Owner

haplokuon commented Jun 5, 2023

If the code raises an assertion that means that you are using a Debug build not a Release build. assertions, not exceptions, are used through out the code, to check for things that should not happen but are fixed or a workaround has been applied. I use them to keep track of weird things just in case they might raise a more serious problem down the line. You should not worry about them, they are for debugging purposes, and can be bypassed without problems. Use the Release build.

Your DXF contains a code 1071 out of place and it will be ignored, under normal circumstances it is used to store extended data information.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants