Skip to content
Advertisement

Tag: ezdxf

ezdxf issue when creating drawing with layers

I have encountered an issue when creating a new drawing using the ezdxf library. I need to create a new dxf drawing, AutoCAD release R2000, so I use the following commands: New entities, e.g. a simple line, are added on separate layers. For example: And then at the end: for saving the document. This works fine: I can create a

ezDXF: Can i set a text style inside a BLOCK?

When I try to set up a text style inside a BLOCK, TrueView stops with an error. If I remove the style line the DXF is accepted Its an Autocad limitation or a non implemented feature in ezDXF? I have no full Autocad available for checking… Answer Any text style you want to use must be defined in the DXF

I cant run ezdxf,

i just try to use ezdxf, and copied that code from ezdxf website: and i recieve that: AttributeError: partially initialized module ‘ezdxf’ has no attribute ‘new’ (most likely due to a circular import) what may by wrong? installation, path,… Answer Did you name your file the same thing as the module (in this case, ezdxf.py)? This causes problems with circular

Advertisement