ifccsv

Module Contents

class ifccsv.IfcCsv
Import(ifc_file: ifcopenshell.file, table: str, attributes: list[str | None] | None = None, delimiter: str = ',', null: str = '-', empty: str = '', bool_true: str = 'YES', bool_false: str = 'NO') None
Args:

table: filepath to the table.

export(ifc_file: ifcopenshell.file, elements: ifcopenshell.entity_instance, attributes, headers=None, output=None, format: FILE_FORMAT = None, should_preserve_existing: bool = False, include_global_id: bool = True, delimiter: str = ',', null: str = '-', empty: str = '', bool_true: str = 'YES', bool_false: str = 'NO', concat: str = ', ', sort=None, groups=None, summaries=None, formatting=None)
export_csv(output: str, delimiter: str | None = None) None
export_ods(output, should_preserve_existing=False)
export_pd()
export_xlsx(output, should_preserve_existing=False)
format_results(formatting, attributes, null)
get_col(row, col_index)
get_row(table, row_index)
get_wildcard_attributes(attribute)
group_results(groups, attributes)
import_csv(ifc_file: ifcopenshell.file, table: str, attributes: list[str | None] | None = None, delimiter: str = ',', null: str = '-', empty: str = '', bool_true: str = 'YES', bool_false: str = 'NO') None
import_ods(ifc_file, table, attributes, null, empty, bool_true, bool_false)
import_pd(ifc_file, df, attributes=None, null='-', empty='', bool_true='YES', bool_false='NO')
import_xlsx(ifc_file, table, attributes, null, empty, bool_true, bool_false)
process_row(ifc_file: ifcopenshell.file, row: list[str], headers: list[str], attributes: list[str | None], null: str, empty: str, bool_true: str, bool_false: str) None
set_cell_value(cell, value)
sort_results(sort, attributes, include_global_id)
summarise_results(summaries, attributes)
dataframe = None
headers = []
results = []
ifccsv.FILE_FORMAT
ifccsv.parser