Fix #2858. Fix #2856. BlenderBIM Add-on drawings and IfcCSV now support the new quoted and escaped selector capabilities.

This commit is contained in:
Dion Moult
2023-03-13 11:09:56 +11:00
parent 9ec54228f8
commit 1250a20e35
6 changed files with 56 additions and 23 deletions
+1 -2
View File
@@ -144,7 +144,6 @@ class IfcCsv:
self.attributes = []
self.output = ""
self.format = "csv"
self.selector = ifcopenshell.util.selector.Selector()
self.delimiter = ","
def export(self, ifc_file, elements):
@@ -162,7 +161,7 @@ class IfcCsv:
del self.attributes[index]
for attribute in self.attributes:
result.append(self.selector.get_element_value(element, attribute))
result.append(ifcopenshell.util.selector.get_element_value(element, attribute))
self.results.append(result)
self.headers = ["GlobalId"]