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

Expected datatype for EnumeratedProperties? #245

Open
MatthiasWeise opened this issue Feb 6, 2024 · 1 comment
Open

Expected datatype for EnumeratedProperties? #245

MatthiasWeise opened this issue Feb 6, 2024 · 1 comment

Comments

@MatthiasWeise
Copy link

I am using http://www.xbim.it/ids to check our IDS files and it reports the following error for Pset_BeamCommon.Status.

Error Error 103:
Invalid datatype IFCLABEL (no valid values exist) in the context of Ifc4x3 on 'property' element at line 97, position 10.

        <ids:property instructions="Status" datatype="IFCLABEL" minOccurs="1" maxOccurs="unbounded">
          <ids:propertySet>
            <ids:simpleValue>Pset_BeamCommon</ids:simpleValue>
          </ids:propertySet>
          <ids:name>
            <ids:simpleValue>Status</ids:simpleValue>
          </ids:name>
        </ids:property>

IFCLABEL seems to be wrong here. @CBenghi What is the correct/expected datatype?

I wonder, because existing IFC files seems to use IFCLABEL as underlying datatype, e.g.

#1401625=IFCPROPERTYENUMERATEDVALUE('Status',$,(IFCLABEL('EXISTING')),#1076681);

@CBenghi
Copy link
Contributor

CBenghi commented Feb 27, 2024

Hi @MatthiasWeise,
can you give this another try?
I've updated the code, and it should be ok now (provided that you update to the latest schema with baseName).

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

2 participants