Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDS 0.9.7 Update Issues? #259

Closed
GazerBlitz opened this issue Mar 12, 2024 · 5 comments
Closed

IDS 0.9.7 Update Issues? #259

GazerBlitz opened this issue Mar 12, 2024 · 5 comments

Comments

@GazerBlitz
Copy link

GazerBlitz commented Mar 12, 2024

Has anyone encountered issues with IDS checks in blender after upgrading the IDS version from 0.9.6 to 0.9.7? Have been using ACCA's ids editor to create my IDS files and up till recently, the IDS checks ran in blender without any issues. Was prompted to upgrade the document today and have been having this error in the blender bim test since thn.
Screenshot 2024-03-12 183536
Anyone able to assist on this? Tested the ids on Open IFC Viewer's validator as well and got an error as well. IDS file below if anyone is able to help :)

`

<ids:ids xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://standards.buildingsmart.org/IDS http://standards.buildingsmart.org/IDS/0.9.7/ids.xsd" xmlns:ids="http://standards.buildingsmart.org/IDS">
  <!--edited with usBIM.IDSeditor 2.0.4.0 (http://www.accasoftware.com)-->
  <ids:info>
    <ids:title>New ids file</ids:title>
  </ids:info>
  <ids:specifications>
    <ids:specification ifcVersion="IFC4" name="AREA_GFA">
      <ids:applicability minOccurs="1" maxOccurs="unbounded">
        <ids:entity>
          <ids:name>
            <ids:simpleValue>IFCSPACE</ids:simpleValue>
          </ids:name>
          <ids:predefinedType>
            <ids:simpleValue>USERDEFINED</ids:simpleValue>
          </ids:predefinedType>
        </ids:entity>
        <ids:attribute>
          <ids:name>
            <ids:simpleValue>ObjectType</ids:simpleValue>
          </ids:name>
          <ids:value>
            <ids:simpleValue>AREA_GFA</ids:simpleValue>
          </ids:value>
        </ids:attribute>
      </ids:applicability>
      <ids:requirements>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_DevelopmentUse</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_DetailedUse</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_Name</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_UnitNumber</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_BonusGFAType</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property dataType="IFCTEXT" cardinality="optional">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_Note</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_UseQuantum</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_GFA</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>AGF_FacilityType</ids:simpleValue>
          </ids:baseName>
        </ids:property>
      </ids:requirements>
    </ids:specification>
    <ids:specification ifcVersion="IFC4" name="AREA_LANDSCAPE">
      <ids:applicability minOccurs="1" maxOccurs="unbounded">
        <ids:entity>
          <ids:name>
            <ids:simpleValue>IFCSPACE</ids:simpleValue>
          </ids:name>
          <ids:predefinedType>
            <ids:simpleValue>USERDEFINED</ids:simpleValue>
          </ids:predefinedType>
        </ids:entity>
        <ids:attribute>
          <ids:name>
            <ids:simpleValue>ObjectType</ids:simpleValue>
          </ids:name>
          <ids:value>
            <ids:simpleValue>AREA_LANDSCAPE</ids:simpleValue>
          </ids:value>
        </ids:attribute>
      </ids:applicability>
      <ids:requirements>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_Landscape</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>ALS_LandscapeType</ids:simpleValue>
          </ids:baseName>
        </ids:property>
        <ids:property cardinality="required">
          <ids:propertySet>
            <ids:simpleValue>SGPset_SpaceArea_Landscape</ids:simpleValue>
          </ids:propertySet>
          <ids:baseName>
            <ids:simpleValue>ALS_GreeneryFeatures</ids:simpleValue>
          </ids:baseName>
        </ids:property>
      </ids:requirements>
    </ids:specification>
  </ids:specifications>
</ids:ids>
``` `
@fbosche
Copy link

fbosche commented Mar 25, 2024

OK. Same issue as me.
This is odd though. Why would it clash on "dataType" vs "datatype". When I look at the ids.xsd file on the IDS website, it still says "dataType"... I'm confused.

@Andrej730
Copy link

See IfcOpenShell/IfcOpenShell#4465

This is odd though. Why would it clash on "dataType" vs "datatype". When I look at the ids.xsd file on the IDS website, it still says "dataType"... I'm confused.

Before 0.9.7 it was "datatype", since 0.9.7 - "dataType", therefore the error.

@fbosche
Copy link

fbosche commented Mar 26, 2024

Sorry. You're right.
I suppose, if 0.9.7 is still for review, it's fair that it's not supported by IfcTester and ACCA usBIM seem to have jumped the gun here. I've emailed them about it.

@Moult
Copy link
Contributor

Moult commented Mar 26, 2024

If it's been published on the repo (i.e. not pending in a PR) it's safe to implement.

@atomczak
Copy link
Contributor

Closing as it is not the IDS schema issue. We hope there won't be more changes, and 0.9.7 soon becomes a stable 1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants