IfcTester - applicability bug?

Hi, have a problem with the applicability of my IDS in regards to IsExternal in Pset_WallCommon.
If I use this IDS that hast two specifications each with am applicability of the name "Ortbetonwand" and one with "IsExternal=TRUE" and the other with "IsExternal=FALSE", Bonsai does apply both specifications only to objects with "IsExternal=TRUE". Solibri does apply these correctly with the same IDS so I assume its a Bonsai/IfcTester-bug.
Tested with 0.8.0 in Bonsai and ifcOpenShell Command line.
Is it just me that has this problem? it seems to basic to be a "regular" bug.
i would really like to use Bonsai for my IDS-reports, as I have to do a lot of them for a big project.

<ids xmlns="http://standards.buildingsmart.org/IDS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/1.0/ids.xsd">
    <info>
        <title>TEST</title>
        <author>[email protected]</author>
        <date>2024-10-30</date>
    </info>
    <specifications>
        <specification name="ApplicabilityTEST" ifcVersion="IFC4" description="Test of Applicability">
            <applicability minOccurs="1" maxOccurs="unbounded">
                <entity>
                    <name>
                        <simpleValue>IFCWALL</simpleValue>
                    </name>
                </entity>
                <attribute>
                    <name>
                        <simpleValue>Name</simpleValue>
                    </name>
                    <value>
                        <simpleValue>Ortbetonwand</simpleValue>
                    </value>
                </attribute>
                <property dataType="IFCBOOLEAN">
                    <propertySet>
                        <simpleValue>Pset_WallCommon</simpleValue>
                    </propertySet>
                    <baseName>
                        <simpleValue>IsExternal</simpleValue>
                    </baseName>
                    <value>
                        <simpleValue>TRUE</simpleValue>
                    </value>
                </property>
            </applicability>
            <requirements>
                <property dataType="IFCLABEL" cardinality="required">
                    <propertySet>
                        <simpleValue>Pset_WallCommon</simpleValue>
                    </propertySet>
                    <baseName>
                        <simpleValue>FireRating</simpleValue>
                    </baseName>
                </property>
            </requirements>
        </specification>
        <specification name="ApplicabilityTEST2" ifcVersion="IFC4" description="Test of Applicability 2">
            <applicability minOccurs="1" maxOccurs="unbounded">
                <entity>
                    <name>
                        <simpleValue>IFCWALL</simpleValue>
                    </name>
                </entity>
                <attribute>
                    <name>
                        <simpleValue>Name</simpleValue>
                    </name>
                    <value>
                        <simpleValue>Ortbetonwand</simpleValue>
                    </value>
                </attribute>
                <property dataType="IFCBOOLEAN">
                    <propertySet>
                        <simpleValue>Pset_WallCommon</simpleValue>
                    </propertySet>
                    <baseName>
                        <simpleValue>IsExternal</simpleValue>
                    </baseName>
                    <value>
                        <simpleValue>FALSE</simpleValue>
                    </value>
                </property>
            </applicability>
            <requirements>
                <property dataType="IFCLABEL" cardinality="required">
                    <propertySet>
                        <simpleValue>Pset_WallCommon</simpleValue>
                    </propertySet>
                    <baseName>
                        <simpleValue>FireRating</simpleValue>
                    </baseName>
                </property>
            </requirements>
        </specification>
    </specifications>
</ids>

Thanks!

Comments

  • edited March 7

    @DavidE have you tried writing the booleans in small caps? I had the same problem at first. See example code:

Sign In or Register to comment.