Coder Social home page Coder Social logo

Comments (6)

aothms avatar aothms commented on August 27, 2024 1

This was not done in 4.3.2 for whatever reason.

It's not heavily advertised / published, but it does exist. Just fyi.

#4916=IFCPROPERTYENUMERATION('PEnum_TankAccessType',(IFCLABEL('LOOSECOVER'),IFCLABEL('MANHOLE'),IFCLABEL('NONE'),IFCLABEL('SECUREDCOVER'),IFCLABEL('SECUREDCOVERWITHMANHOLE'),IFCLABEL('OTHER'),IFCLABEL('NOTKNOWN'),IFCLABEL('UNSET')),$);

https://github.com/buildingSMART/IFC4.3.x-output/blob/master/Pset_IFC4X3.ifc#L4923

from ids.

CBenghi avatar CBenghi commented on August 27, 2024

I understand... the underlying type of enums is an actual IFCLABEL in the IFC file... while the 'template' is coming from the enumeration type.
I will see to improve the tool and the documentation appropriately.

from ids.

SergejMuhic avatar SergejMuhic commented on August 27, 2024

The underlying type of property enums is an IfcLabel. This is not true for enums. Enums are EXPRESS ENUMERATION types. Those two are not to be confused. Property enums were serialized as a computer interpretable listing in .ifc and .ifcxml as declared in a project library e. g.:

#4370= IFCPROPERTYENUMERATION('PEnum_TankAccessType',(IFCLABEL('NONE'),IFCLABEL('LOOSECOVER'),IFCLABEL('MANHOLE'),IFCLABEL('SECUREDCOVER'),IFCLABEL('SECUREDCOVERWITHMANHOLE'),IFCLABEL('OTHER'),IFCLABEL('NOTKNOWN'),IFCLABEL('UNSET')),$);

This was not done in 4.3.2 for whatever reason.

Enums (not property) are part of the EXPRESS schema. They are not IfcLabel in an ifc file and also not parsed as such. Enumerations are a set of named numerical values. This is also something that makes 4.3.2 backwards incompatible since the order of the constants was changed. IfcLabel is enclosed in single quotes and enums in dots ('' vs ..).

from ids.

SergejMuhic avatar SergejMuhic commented on August 27, 2024

Oh, my we could have used this last month! 😄

from ids.

Moult avatar Moult commented on August 27, 2024

I think most BBIM users also heavily use custom pset template definitions with property enumeration. So it's pretty common here :)

from ids.

berlotti avatar berlotti commented on August 27, 2024

would be nice to add to IDS Audit tool? @CBenghi

from ids.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.