From c2b0c4aeb8bb02899ea2c549c9c4519ba08324f8 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Sat, 21 Dec 2013 19:53:07 -0200 Subject: [PATCH] Arch: added a couple of useful properties to Site object --- src/Mod/Arch/ArchSite.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Mod/Arch/ArchSite.py b/src/Mod/Arch/ArchSite.py index 1fa0c6c7b..b17ec6819 100644 --- a/src/Mod/Arch/ArchSite.py +++ b/src/Mod/Arch/ArchSite.py @@ -82,6 +82,12 @@ class _Site(ArchFloor._Floor): ArchFloor._Floor.__init__(self,obj) obj.addProperty("App::PropertyLink","Terrain","Arch", str(translate("Arch","The terrain of this site"))) + obj.addProperty("App::PropertyString","Address","Arch", + str(translate("Arch","The address of this site"))) + obj.addProperty("App::PropertyString","Coordinates","Arch", + str(translate("Arch","The geographic coordinates of this site"))) + obj.addProperty("App::PropertyString","Url","Arch", + str(translate("Arch","An url that shows this site in a mapping website"))) self.Type = "Site" obj.setEditorMode('Height',2)