[279] Geländer als eigenes Bauteil: Modell, Grundriss, Schnitt, Ansicht, 3D, 3D-Dokument, IFC IfcRailing, DXF-Ebene, Umbau und Varianten, Befehl gelaender, Objekt-Info, Griffe, Beispiel Wettbewerb
This commit is contained in:
103 files changed
+2289
-73
No files matched your search
@@ -38,6 +38,8 @@ export function isLocked(project: Project, kind: MemberKind, id: string): boolea
|
||||
return !!(project.trees ?? []).find((t) => t.id === id)?.locked;
|
||||
case "cameraIds":
|
||||
return !!(project.cameras ?? []).find((c) => c.id === id)?.locked;
|
||||
case "railingIds":
|
||||
return !!(project.railings ?? []).find((c) => c.id === id)?.locked;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,6 +66,8 @@ export function lockOps(project: Project, kind: MemberKind, id: string, locked:
|
||||
return patchItem(project, "trees", id, { locked });
|
||||
case "cameraIds":
|
||||
return patchItem(project, "cameras", id, { locked });
|
||||
case "railingIds":
|
||||
return patchItem(project, "railings", id, { locked });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user