Arch: Removed Undefined IFC type - fixes #8774
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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):
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -4007,11 +4007,5 @@
|
||||
}
|
||||
],
|
||||
"complex_attributes": []
|
||||
},
|
||||
"IfcUndefined": {
|
||||
"is_abstract": false,
|
||||
"parent": "IfcObject",
|
||||
"attributes": [],
|
||||
"complex_attributes": []
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13265,11 +13265,5 @@
|
||||
"type": "IfcProductRepresentation"
|
||||
}
|
||||
]
|
||||
},
|
||||
"IfcUndefined": {
|
||||
"is_abstract": false,
|
||||
"parent": "IfcObject",
|
||||
"attributes": [],
|
||||
"complex_attributes": []
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user