Excel Export API Reference¶
to_excel¶
to_excel
¶
to_excel(doc, path, *, mode='structured', include_long_text=False, include_classification=False, include_bim_guid=False, formulas=False)
Export a GAEBDocument to an Excel workbook.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
doc
|
GAEBDocument
|
The document to export. |
required |
path
|
str | Path
|
Output file path (.xlsx). |
required |
mode
|
str
|
|
'structured'
|
include_long_text
|
bool
|
Add a "Long Text" column. |
False
|
include_classification
|
bool
|
Add classification columns (trade, element_type, confidence). |
False
|
include_bim_guid
|
bool
|
Add a "BIM GUID" column (procurement only). |
False
|
formulas
|
bool
|
When |
False
|
ColumnDef¶
ColumnDef
dataclass
¶
Definition of an Excel column.