You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running dxfLibrary with python dxfLibrary.py I'm getting corrupted file. (Can't post here, because github is not allowing).
So what's wrong? How can I generate DXF files with dxfLibrary? Is this related to versions of AutoCAD?
If you know where is the problem but can't get time to fix it, then please just show me the direction and I'll try to fix the problem (because I get corrupted files using my scripts too).
The text was updated successfully, but these errors were encountered:
ruben-ksdm
changed the title
Getting invalid file with dxfLibrary even with sample code (when directly running the dxfLibrary).
Getting corrupted file with dxfLibrary even with sample code (when directly running the dxfLibrary).
Feb 20, 2019
Ok, when I remove some code lines, I get normal file, but when I add only one dimension by d.append(Dimension((0,0,0), (0,0,0), (30,0,0))) (and yes, maybe I'm using Dimensions in the wrong way, because there is no documentation for this), I get corrupted file...
So I'm now trying to understand how is AutoCAD saving dimensions in the file and I have found, that it is using another format for that.
I get this with the dxfLibrary,
So what can I do now? Maybe I have to write my own tool to create dimensions in the dxf file? Because I can't find dimensions feature in any other dxf exporting tool for python (maybe I have to find in other languages too...).
When running dxfLibrary with
python dxfLibrary.py
I'm getting corrupted file. (Can't post here, because github is not allowing).So what's wrong? How can I generate DXF files with dxfLibrary? Is this related to versions of AutoCAD?
If you know where is the problem but can't get time to fix it, then please just show me the direction and I'll try to fix the problem (because I get corrupted files using my scripts too).
The text was updated successfully, but these errors were encountered: