Writing dimensions in a dxf file using dxflib
Posted: Thu Nov 03, 2011 8:15 pm
I don't succeed to write dimensions in a dxf file that can be imported in AutoCAD 2010. I have written a dimension style with writeDimStyle() and a linear dimension entity with writeDimLinear().
AutoCAD imports the file without message but the dimension is not visible. DXFOUT in AutoCAD writes the dimension again in an output file.
When I replace part of a dxf file that contains a dimension entity drawn in AutoCAD by the part out of my DXF file it can be imported on the condition that the entity refers to a block that defines the look.
Is it possible to write dimension entities on an easy way using the library functions?
AutoCAD imports the file without message but the dimension is not visible. DXFOUT in AutoCAD writes the dimension again in an output file.
When I replace part of a dxf file that contains a dimension entity drawn in AutoCAD by the part out of my DXF file it can be imported on the condition that the entity refers to a block that defines the look.
Is it possible to write dimension entities on an easy way using the library functions?