0001138: Use TypeId in Draft & Arch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user