ifcos-syntax-util

Extract IFC element properties, placements, and units via ifcopenshell.util helpers.

30|4|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill ifcos-syntax-util-impertio-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ifcos-syntax-util
Source: https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package/tree/main/skills/ifcopenshell/syntax/ifcos-syntax-util
Command: npx skills add https://github.com/Impertio-Studio/Blender-Bonsai-ifcOpenshell-Sverchok-Claude-Skill-Package --skill ifcos-syntax-util-impertio-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

ifcos-syntax-util prevents brittle, schema-dependent IFC parsing by guiding you to extract element properties, placement, units, and related data using the correct ifcopenshell.util helper APIs instead of hand-walking IFC relationships.

Core Features & Use Cases

  • Element property extraction (psets/qtos): Retrieve full property sets, single property values, and quantity sets from IFC elements, including type-inherited properties safely.
  • Selector-style filtering: Find elements using CSS-inspired query syntax over class attributes and property set values (including container/material/type filters).
  • Placement and coordinate correctness: Convert local placement transforms to usable coordinates and apply unit scaling so results are in SI metres (and correct area/volume scaling when needed).
  • Supplementary extraction utilities: Convert IFC dates/timestamps, extract processed-geometry shape metrics (area/volume/bbox), and retrieve classification/cost/schedule-linked data where supported.

Quick Start

Use ifcos-syntax-util to extract all property sets and key values from an IFC wall element, applying unit-correct placement coordinates, for example when generating a structured BIM report from an IFC model.

Frequently Asked Questions about ifcos-syntax-util

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

FAQPage Schema
How do I extract property sets and quantities from IFC elements using ifcopenshell?

To extract property sets and quantities from IFC elements, route retrieval through ifcopenshell.util.element. This safely retrieves full Psets, single property values, and Qto sets, including type-inherited properties, without hand-walking IFC relationships.

What is the best way to filter IFC elements by property values or class attributes?

Filtering IFC elements by property values or class attributes is best handled using ifcopenshell.util.selector. It applies CSS-inspired query syntax to filter elements, including container, material, and type filters, via the filter_elements function.

Why are my IFC coordinate and metric extractions returning incorrect units?

IFC coordinate and metric extractions return incorrect units when local placement transforms lack unit scaling. Apply ifcopenshell.util.unit to convert transforms to SI metres, ensuring correct area^2 and volume^3 scaling for accurate metrics.

Can I retrieve shape metrics like area and volume directly from IFC elements?

You can retrieve shape metrics like area and volume from IFC elements using ifcopenshell.util.shape. You must process the element geometry before extracting shape metrics to ensure accurate bounding box, area, and volume calculations.

Does ifcopenshell support extracting classification and schedule data across different IFC versions?

ifcopenshell supports extracting classification, cost, and schedule-linked data across different IFC versions. It safely handles optional schema data by using explicit util helper imports to prevent brittle, schema-dependent IFC parsing failures.