ifc-data-extraction

Extract structured BIM element data, quantities, and property sets from IFC files using IfcOpenShell.

3|Updated May 11, 2026
One-click install
npx skills add https://github.com/JeromyJSmith/lattice-platform --skill ifc-data-extraction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ifc-data-extraction
Source: https://github.com/JeromyJSmith/lattice-platform/tree/main/.agents/skills/ifc-data-extraction
Command: npx skills add https://github.com/JeromyJSmith/lattice-platform --skill ifc-data-extraction

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of converting IFC BIM models into machine-readable structured datasets so you can analyze quantities, properties, and relationships without manually inspecting the model.

Core Features & Use Cases

  • IFC parsing with IfcOpenShell: Extracts project metadata, building storeys/spaces, and typed building elements from IFC files.
  • Quantities and property sets extraction: Pulls BaseQuantities (e.g., area, volume, length) and full Pset_* key-value property sets for downstream analysis.
  • Export for reporting and pipelines: Exports results to Excel, CSV, JSON, or loads them into a SQL database for integration with your tools.
  • Relationship extraction: Captures spatial containment and aggregation links between elements and their related structures for navigation and auditing.
  • Use Case: Extract wall/slab quantities and properties from an IFC deliverable and export a consistent dataset for cost planning, validation, or reporting.

Quick Start

Ask the skill to parse your model.ifc and export extracted elements, quantities, levels, spaces, materials, and relationships to JSON.

Frequently Asked Questions about ifc-data-extraction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract quantities and property sets from an IFC file?

You can extract quantities and property sets from IFC files by parsing the model with IfcOpenShell to retrieve BaseQuantities like area, volume, and length, alongside full Pset_* key-value data for downstream analytics.

How do I export BIM data from IFC to Excel, CSV, or JSON?

Exporting BIM data to Excel, CSV, or JSON involves parsing the IFC file to extract structured element data, spatial relationships, and properties, then formatting these datasets into machine-readable output files for reporting.

Can I capture spatial containment and aggregation relationships from an IFC model?

Capturing spatial containment and aggregation relationships from an IFC model lets you audit links between building elements and their related structures, providing navigation context for inventorying walls, slabs, and spaces.

How do I inventory walls, slabs, and spaces from an IFC deliverable?

Inventorying walls, slabs, and spaces from an IFC deliverable requires local IFC parsing to detect building storeys, extract typed elements, and aggregate their BaseQuantities into consistent datasets for cost planning or validation.

Does IfcOpenShell support loading IFC data into a SQL database?

IfcOpenShell supports loading IFC data into a SQL database by first parsing the local IFC file to extract structured BIM elements, quantities, and relationships, then formatting the output for database table integration.

What is the best way to automate quantity takeoff from IFC files?

The best way to automate quantity takeoff from IFC files is using IfcOpenShell to programmatically extract BaseQuantities and property sets, producing consistent exports across formats like JSON and CSV without manual model inspection.