[33] Overrides auf Bauteilschichten: Kriterien Bauteilart/Schichtfunktion/Lage/Baustoff/Kategorie, Aktionen Füllung/Schraffur/Umriss mit Vorrang vor 1:100 schwarz; Baustein „Deckenaufbau weiss“, Vorlagen-Dialog, CLI --template/--rule

This commit is contained in:
Claude committed 2026-11-06 17:45:42 +00:00
1 parent 016c02e28c
commit 851d5f8974
23 files changed
+1316 -406

No files matched your search

+3
View File
@@ -16,6 +16,7 @@ import type { DisplayMode } from "../panels/types";
import type { ViewTemplateHandlers, ViewTemplateTarget } from "../ui/resourceManager/ViewTemplatesTab";
import type { PlanViewHandle } from "../views/plan/PlanView";
import {
addRuleBlockOps,
addTemplateOps,
applyToLevelOps,
applyToSnapshotOps,
@@ -120,5 +121,7 @@ export function useViewTemplateHandlers(d: Deps): ViewTemplateHandlers {
},
onDeleteViewTemplate: (id) => applyChange((p) => deleteTemplateOps(p, id)),
onApplyViewTemplate: onApply,
// [33] Override-Baustein (z. B. „Deckenaufbau weiss“) übernehmen: ein Undo-Schritt.
onAddRuleBlock: (id, rule) => applyChange((p) => addRuleBlockOps(p, id, rule)),
};
}