IfcCSV now supports importing from ODS, XLSX, and Pandas dataframes in addition to CSV

This commit is contained in:
Dion Moult
2023-08-20 16:55:01 +10:00
parent 00c81a3add
commit eac84c6965
2 changed files with 75 additions and 21 deletions
@@ -166,8 +166,8 @@ class ExportIfcCsv(bpy.types.Operator):
class ImportIfcCsv(bpy.types.Operator):
bl_idname = "bim.import_ifccsv"
bl_label = "Import CSV to IFC"
filename_ext = ".csv"
bl_label = "Import to IFC"
filter_glob: bpy.props.StringProperty(default="*.csv;*.ods;*.xlsx", options={"HIDDEN"})
filepath: bpy.props.StringProperty(subtype="FILE_PATH")
def invoke(self, context, event):