From 6cbc0ddf87cae945ef1ff55d3a7644e9e0a13057 Mon Sep 17 00:00:00 2001 From: mozman Date: Fri, 15 Mar 2024 10:29:26 +0100 Subject: [PATCH] fixes #1049 version specific HEADER vars --- src/ezdxf/sections/headervars.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/ezdxf/sections/headervars.py b/src/ezdxf/sections/headervars.py index 78460026d..305970e93 100644 --- a/src/ezdxf/sections/headervars.py +++ b/src/ezdxf/sections/headervars.py @@ -2008,7 +2008,7 @@ name="$XCLIPFRAME", code=280, # 2004 & 2007 = 290 factory=partial(SingleValue, code=280), # 2004 & 2007 = 290 - mindxf=DXF2004, + mindxf=DXF2007, # changed 2024-03-15, issue #1049 maxdxf=DXF2018, priority=21400, default=2, @@ -2017,7 +2017,7 @@ name="$HALOGAP", code=280, factory=partial(SingleValue, code=280), - mindxf=DXF2004, + mindxf=DXF2013, # changed 2024-03-15, issue #1049 maxdxf=DXF2018, priority=21500, default=0, @@ -2026,7 +2026,7 @@ name="$OBSCOLOR", code=70, factory=partial(SingleValue, code=70), - mindxf=DXF2004, + mindxf=DXF2013, # changed 2024-03-15, issue #1049 maxdxf=DXF2018, priority=21600, default=257, @@ -2035,7 +2035,7 @@ name="$OBSLTYPE", code=280, factory=partial(SingleValue, code=280), - mindxf=DXF2004, + mindxf=DXF2013, # changed 2024-03-15, issue #1049 maxdxf=DXF2018, priority=21700, default=0, @@ -2044,7 +2044,7 @@ name="$INTERSECTIONDISPLAY", code=280, factory=partial(SingleValue, code=280), - mindxf=DXF2004, + mindxf=DXF2007, # changed 2024-03-15, issue #1049 maxdxf=DXF2018, priority=21800, default=0, @@ -2053,7 +2053,7 @@ name="$INTERSECTIONCOLOR", code=70, factory=partial(SingleValue, code=70), - mindxf=DXF2004, + mindxf=DXF2007, # changed 2024-03-15, issue #1049 maxdxf=DXF2018, priority=21900, default=257, @@ -2062,7 +2062,7 @@ name="$DIMASSOC", code=280, factory=partial(SingleValue, code=280), - mindxf=DXF2004, + mindxf=DXF2007, # changed 2024-03-15, issue #1049 maxdxf=DXF2018, priority=22000, default=2, @@ -2071,7 +2071,7 @@ name="$PROJECTNAME", code=1, factory=partial(SingleValue, code=1), - mindxf=DXF2004, + mindxf=DXF2007, # changed 2024-03-15, issue #1049 maxdxf=DXF2018, priority=22100, default="",