Replies: 1 comment
-
Importing complex linetypes works, as BricsCAD shows: So some scaling options or anything else are not imported and I don't waste time searching for that (it is not the linetype scaling). If you want to know why, check out the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I believe I've found a bug concerning complex linetypes. I reached out on stackoverflow, but the solution that was provided had already been tested. I spent some time making absolutely sure that it wasn't my data that was causing this.
Following the instructions previously mentioned in the stackoverflow question, the linetypes keep their "simple" type (eg : dashed), but the text that belongs to the linetype disappears. In its place there seems to be a DFX point which would be where the text's anchor would be.
Here are a coupe of screenshots and a bare-bones DXF for reproduction :
Original file :
After
import ezdxf
from ezdxf.addons import Importer
sdoc = ezdxf.readfile(r'(...)\complex_lines.dxf')
tdoc = ezdxf.new()
importer = Importer(sdoc, tdoc)
importer.import_tables()
importer.import_modelspace()
importer.import_paperspace_layouts()
importer.finalize()
tdoc.saveas(r'(...)\complex_lines_copy.dxf')
complex_lines.zip
Beta Was this translation helpful? Give feedback.
All reactions