-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MText: Missing DXF group code: 90 #179
Comments
Can you attach two files, both before and after the MTEXT corruption? I might be able to look at the differences and figure out what's going on. If you don't want the files to be public you can email them directly to me at brett.forsgren @ outlook.com and I'll keep them private and delete them as soon as I'm done. |
I did another 2 tests even simpler: 1st:
result: file corrupted 2nd even more basic:
result: file corrupted AutoCAD error detail:
I created file with AutoCAD 2015 and put only a multiline text. Regards, |
Thank you for the file! Unfortunately it seems that AutoCAD isn't following their own spec (page 139), so this may take me a while to figure out. If you're interested, the MText in the working file (Test MText.dxf) is on lines 2189 to 2258, and in the non-working file (bbb.dxf) is on lines 2413 to 2524, but the one that this library writes does contain a code 90 on line 2465. |
I've done some tests. |
I have found problem: I have removed code from 420 to 441 and 63 and now your save is ok. You save two times code 430 and 50. https://help.autodesk.com/view/OARX/2020/ENU/?guid=GUID-5E5DB93B-F8D3-4433-ADF7-E92E250D2BAB Regards, |
Thank you for figuring this out! I just pushed commit fef3892 to |
In doubt that the problem was my management, I do nothing only open a DXF and rewrite the MText and the problem is this that corrupts the reading of the file. There is no problem with Text.
I tried to save with some CAD versions but nothing changes.
I also called Header.SetDefaults () and ViewPorts.Clear () with no results.
I only found a reference to an identical problem with another package but with no details on how it was fixed (https://forum.aspose.com/t/multiline-text-in-dxf-saved-by-aspose-cad-is-corrupt/213358)
Regards,
Davide
The text was updated successfully, but these errors were encountered: