From e4edf3afa6eae8068a9ea0273cb003b32b773040 Mon Sep 17 00:00:00 2001 From: oscarale Date: Tue, 19 Mar 2024 09:28:45 -0500 Subject: [PATCH] Arch: Added longname and description to ArchSpace Text variables --- src/Mod/Arch/ArchSpace.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Mod/Arch/ArchSpace.py b/src/Mod/Arch/ArchSpace.py index 3fcc7af653..a1eec138a0 100644 --- a/src/Mod/Arch/ArchSpace.py +++ b/src/Mod/Arch/ArchSpace.py @@ -656,6 +656,10 @@ class _ViewProviderSpace(ArchComponent.ViewProviderComponent): t = t.replace("$walls",vobj.Object.FinishWalls) if hasattr(vobj.Object,"FinishCeiling"): t = t.replace("$ceiling",vobj.Object.FinishCeiling) + if hasattr(vobj.Object,"LongName"): + t = t.replace("$longname",vobj.Object.LongName) + if hasattr(vobj.Object,"Description"): + t = t.replace("$description",vobj.Object.Description) if first: text1.append(t) else: