Arch: Renamed Role property to IfcRole

This commit is contained in:
Yorik van Havre
2018-05-11 12:01:55 -03:00
parent 03908877fc
commit 63794fcefd
15 changed files with 112 additions and 49 deletions

View File

@@ -170,7 +170,7 @@ class _Rebar(ArchComponent.Component):
obj.addProperty("App::PropertyDistance", "Length", "Arch", QT_TRANSLATE_NOOP("App::Property","Length of a single rebar"))
obj.addProperty("App::PropertyDistance", "TotalLength", "Arch", QT_TRANSLATE_NOOP("App::Property","Total length of all rebars"))
self.Type = "Rebar"
obj.Role = "Reinforcing Bar"
obj.IfcRole = "Reinforcing Bar"
obj.setEditorMode("Spacing", 1)
obj.setEditorMode("Length", 1)
obj.setEditorMode("TotalLength", 1)