Arch: Adjust height of objects inside groups

This commit is contained in:
Yorik van Havre
2019-10-07 15:33:28 -03:00
parent c8df73d756
commit 2f07f13e9d
4 changed files with 30 additions and 13 deletions

View File

@@ -730,10 +730,7 @@ class _Structure(ArchComponent.Component):
height = obj.Height.Value
normal = None
if not height:
for p in obj.InList:
if Draft.getType(p) in ["Floor","BuildingPart"]:
if p.Height.Value:
height = p.Height.Value
height = self.getParentHeight(obj)
base = None
placement = None
if obj.Base: