boc_khoi_luong
Extract quantity take-offs from IFC files using BaseQuantities property sets and export them to Excel; measures from geometry instead when quantities are missing.
Instructions
Bóc khối lượng QTO từ IFC dựa trên BaseQuantities Psets. Xuất IFC_QTO_*.xlsx.
IFC xuất từ Revit nên bật 'Export base quantities'. Nếu IFC không có BaseQuantities (ra 0 giá trị), đặt bo_sung_qto=True: đo khối lượng từ hình học, ghi bản sao <tên>_BoSungQTO.ifc vào thư mục kết quả rồi bóc trên bản đó.
Args: ifc_path: Đường dẫn đầy đủ tới file IFC discipline: KT / KC / MEP / ALL stage: TKCS / TKKT / TKTC / AS-BUILT project: Tên dự án bo_sung_qto: True = đo từ hình học khi IFC thiếu BaseQuantities
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | No | TKKT | |
| project | No | ||
| ifc_path | Yes | ||
| discipline | No | ALL | |
| bo_sung_qto | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |