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', concat: str = ', ') None ¶
- Args:
table: filepath to the table.
- export(ifc_file: ifcopenshell.file, elements: Iterable[ifcopenshell.entity_instance], attributes: list[str] | None, headers: list[str] | None = 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)¶
- has_summaries()¶
- 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', concat: str = ', ') None ¶
- import_ods(ifc_file, table, attributes, null, empty, bool_true, bool_false, concat) None ¶
- import_pd(ifc_file, df, attributes=None, null='-', empty='', bool_true='YES', bool_false='NO', concat=', ') None ¶
- import_xlsx(ifc_file, table, attributes, null, empty, bool_true, bool_false, concat) None ¶
- 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, concat: str) None ¶
- set_cell_value(cell, value)¶
- sort_results(sort, attributes, include_global_id)¶
- summarise_results(summaries, attributes)¶
- attributes: list[str]¶
- dataframe = None¶
- headers: list[str]¶
- results = []¶
- ifccsv.FILE_FORMAT¶
- ifccsv.parser¶