Arch: Removed Undefined IFC type - fixes #8774

This commit is contained in:
Yorik van Havre
2023-06-13 14:03:11 +02:00
parent 6f026f5c34
commit 71fefee256
6 changed files with 4 additions and 16 deletions

View File

@@ -285,7 +285,7 @@ class _Equipment(ArchComponent.Component):
# IFC2x3 does know a IfcFurnishingElement
obj.IfcType = "Furnishing Element"
else:
obj.IfcType = "Undefined"
obj.IfcType = "Building Element Proxy"
# Add features in the SketchArch External Add-on, if present
self.addSketchArchFeatures(obj)

View File

@@ -190,7 +190,7 @@ class _ArchPipe(ArchComponent.Component):
obj.IfcType = "Pipe Segment"
else:
# IFC2x3 does not know a Pipe Segment
obj.IfcType = "Undefined"
obj.IfcType = "Building Element Proxy"
def setProperties(self,obj):

View File

@@ -516,7 +516,7 @@ class ProfileTaskPanel:
elif isinstance(self.obj.Proxy,_ProfileT):
self.type = "T"
else:
self.type = "Undefined"
self.type = "Building Element Proxy"
self.form = QtGui.QWidget()
layout = QtGui.QVBoxLayout(self.form)
self.comboCategory = QtGui.QComboBox(self.form)

View File

@@ -117,7 +117,7 @@ def makeStructure(baseobj=None,length=None,width=None,height=None,name=None):
obj.Length = h
if not height and not length:
obj.IfcType = "Undefined"
obj.IfcType = "Building Element Proxy"
obj.Label = name if name else translate("Arch","Structure")
elif obj.Length > obj.Height:
obj.IfcType = "Beam"

View File

@@ -4007,11 +4007,5 @@
}
],
"complex_attributes": []
},
"IfcUndefined": {
"is_abstract": false,
"parent": "IfcObject",
"attributes": [],
"complex_attributes": []
}
}

View File

@@ -13265,11 +13265,5 @@
"type": "IfcProductRepresentation"
}
]
},
"IfcUndefined": {
"is_abstract": false,
"parent": "IfcObject",
"attributes": [],
"complex_attributes": []
}
}