fix: LAYER-Attribut nicht mehr in Geruest-Sivas-Export schreiben
LAYER ist reine BricsCAD-Zeichnungsinformation ohne Sivas-Bedeutung. export_csv.py (bricscad.csv) behaelt es weiterhin fuer die Zuordnung in der Zeichnung.
This commit is contained in:
+5
-3
@@ -292,12 +292,14 @@ def build_geruest_details(block):
|
|||||||
"""Merkmale-Dict fuer eine GR_-Geruest-Baugruppe (siehe pattern_geruest in
|
"""Merkmale-Dict fuer eine GR_-Geruest-Baugruppe (siehe pattern_geruest in
|
||||||
cfg/export.cfg, GeruestInsert.lsp *geruest-attrib-defs*). ARTINR/
|
cfg/export.cfg, GeruestInsert.lsp *geruest-attrib-defs*). ARTINR/
|
||||||
BEZEICHNUNG/TEILEART/LAENGE wandern in feste Sivas-Spalten (sivasnr/
|
BEZEICHNUNG/TEILEART/LAENGE wandern in feste Sivas-Spalten (sivasnr/
|
||||||
bezeichnung/teileart/laenge_mm), FARBE/LAYER bleiben als Rest-Attribute
|
bezeichnung/teileart/laenge_mm), FARBE bleibt als Rest-Attribut hier.
|
||||||
hier."""
|
LAYER ist reine BricsCAD-Zeichnungsinformation ohne Sivas-Bedeutung und
|
||||||
|
wird bewusst NICHT mit exportiert (anders als im CSV-Export
|
||||||
|
export_csv.py, wo sie fuer die Zuordnung in der Zeichnung nuetzlich
|
||||||
|
bleibt)."""
|
||||||
attribs = block.get("attribs", {})
|
attribs = block.get("attribs", {})
|
||||||
return {
|
return {
|
||||||
"Farbe": attribs.get("FARBE", ""),
|
"Farbe": attribs.get("FARBE", ""),
|
||||||
"Layer": attribs.get("LAYER", ""),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user