0001138: Use TypeId in Draft & Arch

This commit is contained in:
Yorik van Havre
2013-06-14 11:19:58 -03:00
parent 90292ecaaf
commit 6a88bcd870
3 changed files with 17 additions and 17 deletions

View File

@@ -143,7 +143,7 @@ def calcBulge(v1,bulge,v2):
def getGroup(ob,exportList):
"checks if the object is part of a group"
for i in exportList:
if (i.Type == "App::DocumentObjectGroup"):
if (i.TypeId == "App::DocumentObjectGroup"):
for j in i.Group:
if (j == ob):
return i.Label