# The datatypes in the IFC schema are not supported by bSDD

**URL:** <https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408>\
**Category:** bSDD\
**Tags:** bsdd\
**Created:** [May 29, 2024, 2:28pm UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408 "2024-05-29T14:28:19Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Enrra](https://avatars.discourse-cdn.com/v4/letter/e/a698b9/32.png) [@Enrra](https://forums.buildingsmart.org/u/Enrra)\
**Post date:** [May 29, 2024, 2:28pm UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/1 "2024-05-29T14:28:19Z")

</div>

As stated in the database description of the property description of many properties inside Pset, the data type is not supported.

example :

> _Technical note: in IFC this property takes ‘IfcLabel’ as value. Such objects are not included in bSDD for simplicity reason. IFC also doesn’t enforce particular units, but recommends using metric SI units (metre, kilogram, etc.). Read the IFC documentation for more information._  
> [Acoustic Rating (bSDD)](https://search.bsdd.buildingsmart.org/uri/buildingsmart/ifc/4.3/prop/AcousticRating)

I would like to know if this is planned to be integrated ?

Also what is this simplicity reason ? because a datatype is still stored (e.g string)

---

<div class="post-metadata">

**Author:** ![artur\_tomczak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/artur_tomczak/32/2632_2.png) [@artur\_tomczak](https://forums.buildingsmart.org/u/artur_tomczak)\
**Post date:** [May 29, 2024, 2:53pm UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/2 "2024-05-29T14:53:27Z")

</div>

bSDD is a more general-purpose platform for data dictionaries, based on the principles of ISO23386 and ISO12006. The intention was to provide an easy way to distribute standard content coming from many origins. Many software doesn’t support all 113 IFC measures, but all should support basic: String, Real, Integer, Boolean, Character, and Time. To help with the mapping, I recommend the data type table from IDS project: [IDS/Documentation/DataTypes.md at 6893df1669755263b2362b82752092d9c64a6e5e · buildingSMART/IDS · GitHub](https://github.com/buildingSMART/IDS/blob/6893df1669755263b2362b82752092d9c64a6e5e/Documentation/DataTypes.md)

The IfcLabel is a string with a limit of 255 characters. The equivalent in ISO23386 is a String value of “Text format” being “(UTF-8,255)”, which we didn’t input for IFC dictionary.

---

<div class="post-metadata">

**Author:** ![RenzoVenuti](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@RenzoVenuti](https://forums.buildingsmart.org/u/RenzoVenuti)\
**Post date:** [May 31, 2024, 9:22am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/3 "2024-05-31T09:22:02Z")

</div>

But since the information is in the description of the property reachable with its uri, I don’t see why it should be forced to 2 roundtrips and parsing the description text.

---

<div class="post-metadata">

**Author:** ![artur\_tomczak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/artur_tomczak/32/2632_2.png) [@artur\_tomczak](https://forums.buildingsmart.org/u/artur_tomczak)\
**Post date:** [June 2, 2024, 11:49am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/4 "2024-06-02T11:49:21Z")

</div>

This description is only informative and was not made for software implementation. In many cases, those properties take as value references to objects like ‘IfcPerson’, ‘IfcMaterialDefinition’ or ‘IfcTimeSeries’, which are not allowed values in a data dictionary. For detailed specification software implementers should use IFC schema documentation instead. Could you please explain the use case where you find this piece of information useful?

---

<div class="post-metadata">

**Author:** ![RenzoVenuti](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@RenzoVenuti](https://forums.buildingsmart.org/u/RenzoVenuti)\
**Post date:** [June 3, 2024, 8:32am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/5 "2024-06-03T08:32:02Z")

</div>

Hi Artur

one example, but many attributes have the Type defined in the description reachable by propertyUri

IfcWall → PropertySet Pset\_WallCommon

The description of AcoustingRating

Technical note: in IFC this property takes ‘IfcLabel’ as value. Such objects are not included in bSDD for simplicity reason. IFC also doesn’t enforce particular units, but recommends using metric SI units (metre, kilogram, etc.). Read the IFC documentation for more information.

The description of Combustible:

"Technical note: in IFC this property takes ‘IfcBoolean’ as value. Such objects are not included in bSDD for simplicity reason. IFC also doesn’t enforce particular units, but recommends using metric SI units (metre, kilogram, etc.). Read the IFC documentation for more

information."

The description of Compartmentation

“Technical note: in IFC this property takes ‘IfcBoolean’ as value. Such objects are not included in bSDD for simplicity reason. IFC also doesn’t enforce particular units, but recommends using metric SI units (metre, kilogram, etc.). Read the IFC documentation for more information.”

The type is very important for us, we use a c++ library for generate ifc files, and the attribute must be the correct type, we need to control the user input for this types.

Thanks is advance

Renzo

---

<div class="post-metadata">

**Author:** ![RenzoVenuti](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@RenzoVenuti](https://forums.buildingsmart.org/u/RenzoVenuti)\
**Post date:** [June 3, 2024, 9:18am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/6 "2024-06-03T09:18:07Z")

</div>

but honestly what I don’t understand is if the standard and the related documentation says that the AcoustingRating property has a DataType IfcLabel because the Bsdd doesn’t return it to me, the documentation does not refer to string but to IfcLabel

---

<div class="post-metadata">

**Author:** ![artur\_tomczak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/artur_tomczak/32/2632_2.png) [@artur\_tomczak](https://forums.buildingsmart.org/u/artur_tomczak)\
**Post date:** [June 3, 2024, 11:47am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/7 "2024-06-03T11:47:02Z")

</div>

bSDD is not there to help you implement IFC properly in your software. Use the official documentation: [https://ifc43-docs.standards.buildingsmart.org/](https://ifc43-docs.standards.buildingsmart.org/), schema specification [IFC Schema Specifications - buildingSMART Technical](https://technical.buildingsmart.org/standards/ifc/ifc-schema-specifications/) and ISO standard. The bSDD only extracts the semantic part of IFC definitions for easier reuse and mapping between other classification systems.

---

<div class="post-metadata">

**Author:** ![RenzoVenuti](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@RenzoVenuti](https://forums.buildingsmart.org/u/RenzoVenuti)\
**Post date:** [June 3, 2024, 1:06pm UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/8 "2024-06-03T13:06:39Z")

</div>

But BSDD has to converge on the standard I believe, and in my opinion indicating the basic types instead of the Type System indicated by Building Smart is a different thing. IFCPOPOSITIVELGHMEASURE is different from an integer type.

---

<div class="post-metadata">

**Author:** ![artur\_tomczak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/artur_tomczak/32/2632_2.png) [@artur\_tomczak](https://forums.buildingsmart.org/u/artur_tomczak)\
**Post date:** [June 5, 2024, 8:21am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/9 "2024-06-05T08:21:25Z")

</div>

IFC combines many aspects into an enumerated list of measures. In bSDD (and according to ISO) this information is captured by separate attributes: data type, unit and dimension. Additionally, some IFC measures are also defining ranges of possible values, which also has its place in bSDD.

For example, the IFCPOPOSITIVELGHMEASURE in bSDD terms would be:

- DataType: Real
- Dimension: “1 0 0 0 0 0 0” (one dimension of length)
- MinInclusive: 0.00 (positive)

Read more about the mapping between IFC and ISO dimensions and units here:

> <https://github.com/buildingSMART/IDS/blob/development/Documentation/units.md>

And to answer why bSDD doesn’t explicitly use IFC measures: different versions of IFC support different list of measures:

> <https://github.com/buildingSMART/IDS/blob/development/Documentation/DataTypes.md>

---

<div class="post-metadata">

**Author:** ![RenzoVenuti](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@RenzoVenuti](https://forums.buildingsmart.org/u/RenzoVenuti)\
**Post date:** [June 5, 2024, 8:50am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/10 "2024-06-05T08:50:22Z")

</div>

Then what is the type that i assign to the property real or IFCPOPOSITIVELGHMEASURE?

---

<div class="post-metadata">

**Author:** ![artur\_tomczak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/artur_tomczak/32/2632_2.png) [@artur\_tomczak](https://forums.buildingsmart.org/u/artur_tomczak)\
**Post date:** [June 5, 2024, 9:35am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/11 "2024-06-05T09:35:00Z")

</div>

The data type is ‘Real’ both in bSDD and in IFC (see: [8.11.2.39 IfcLengthMeasure - IFC 4.3.2 Documentation](https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/IfcLengthMeasure.htm))

In IFC there is additionally such a thing as Measure Resource: [https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/ifcmeasureresource/content.html](https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/ifcmeasureresource/content.html) which in case of length would be IFCPOSITIVELENGTHMEASURE. This you can’t specify in bSDD but you can cover this information using Dimension attribute.

---

<div class="post-metadata">

**Author:** ![RenzoVenuti](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@RenzoVenuti](https://forums.buildingsmart.org/u/RenzoVenuti)\
**Post date:** [June 5, 2024, 9:39am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/12 "2024-06-05T09:39:59Z")

</div>

in IFC i must indicate the correct IfcType for attributes and properties  
#25= IFCPROPERTYSINGLEVALUE(‘StartingStation’,$,IFCLENGTHMEASURE(0.000000000000000),$);

---

<div class="post-metadata">

**Author:** ![RenzoVenuti](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@RenzoVenuti](https://forums.buildingsmart.org/u/RenzoVenuti)\
**Post date:** [June 5, 2024, 9:53am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/13 "2024-06-05T09:53:23Z")

</div>

for the property Station the Data Type is IfcLengthMeasure non Real

[6.6.4.10 Pset\_Stationing - IFC 4.3.2 Documentation (buildingsmart.org)](https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/lexical/Pset_Stationing.htm)

---

<div class="post-metadata">

**Author:** ![artur\_tomczak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/artur_tomczak/32/2632_2.png) [@artur\_tomczak](https://forums.buildingsmart.org/u/artur_tomczak)\
**Post date:** [June 5, 2024, 10:07am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/14 "2024-06-05T10:07:46Z")

</div>

yes, I know, but if you read closely, IfcLengthMeasure (a measure) is of (data) type: REAL.  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/buildingsmart1/original/2X/1/1db7aac18909f7a8b1b368742ece093a46bb04db.png)

---

<div class="post-metadata">

**Author:** ![RenzoVenuti](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@RenzoVenuti](https://forums.buildingsmart.org/u/RenzoVenuti)\
**Post date:** [June 5, 2024, 10:11am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/15 "2024-06-05T10:11:59Z")

</div>

semantically it is a measure not a simple real

---

<div class="post-metadata">

**Author:** ![artur\_tomczak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/artur_tomczak/32/2632_2.png) [@artur\_tomczak](https://forums.buildingsmart.org/u/artur_tomczak)\
**Post date:** [June 5, 2024, 10:51am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/16 "2024-06-05T10:51:36Z")

</div>

Yes, I know. However, an IFC measure is not really just a data type but a combination of data type, unit, dimension and sometimes also restrictions.

The bSDD doesn’t include all the complexity of the IFC schema, but has dedicated places for this information (Dimension, Data Type, Unit…). This way it is easier to map classification systems together.

---

<div class="post-metadata">

**Author:** ![RenzoVenuti](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@RenzoVenuti](https://forums.buildingsmart.org/u/RenzoVenuti)\
**Post date:** [June 5, 2024, 11:49am UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/17 "2024-06-05T11:49:45Z")

</div>

But if the property requires a semantic type (IfcLengthMeasure) why does BSDD only return the underlying base type?

---

<div class="post-metadata">

**Author:** ![artur\_tomczak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.buildingsmart.org/artur_tomczak/32/2632_2.png) [@artur\_tomczak](https://forums.buildingsmart.org/u/artur_tomczak)\
**Post date:** [June 5, 2024, 1:32pm UTC](https://forums.buildingsmart.org/t/the-datatypes-in-the-ifc-schema-are-not-supported-by-bsdd/5408/18 "2024-06-05T13:32:14Z")

</div>

bSDD is not implementing the IFC schema.
