mozman / ezdxf

Python interface to DXF

Home Page:https://ezdxf.mozman.at

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

entity.dxf.invisible = 1 ignored / not exported

subsurfaceiodev opened this issue · comments

Describe the bug
Setting entity.dxf.invisible = 1 is ignored when exported to dxf

To Reproduce

import ezdxf

doc = ezdxf.new()
msp = doc.modelspace()

line = msp.add_lwpolyline(
    [(0, 0), (1, 1)]
)
line.dxf.invisible = 1

doc.saveas('mwe.dxf')

Expected behavior
Line should be hidden when viewing on modelspace in CAD software, when browsing dxf file using ezdxf browse tool group code 60 equal to 1 is not being exported.

Screenshots
image

Thank you!