Comments (6)
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.
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.
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.
Oh, my we could have used this last month! 😄
from ids.
I think most BBIM users also heavily use custom pset template definitions with property enumeration. So it's pretty common here :)
from ids.
would be nice to add to IDS Audit tool? @CBenghi
from ids.
Related Issues (20)
- Restriction of values: Enumeration limited to string-based datatype or do we allow for real, integer and measurements HOT 4
- Predefined type evaluation
- userdefuned HOT 6
- Test case naming consistency HOT 2
- 2 testcases have .html file instead of .ifc HOT 2
- Tolerance documentation 1.0.0 HOT 7
- Wrong file name in the entity directory of test cases HOT 1
- Tolerance test issues in 1.0 HOT 5
- Are complex restrictions applicable to all facet parameters? HOT 2
- Test case for indirect containment is incorrect
- Relation between enumerations in Applicability and Requirements HOT 2
- Broken links on dev Readme HOT 1
- Add textual definitions to each IDS element HOT 2
- IfcTester check ifc version?
- Proposal: Permit dataType equivalents for non-measure Property values HOT 4
- IfcAlignmentTypeEnum in IFC4 HOT 2
- IDS master branch has disappeared HOT 8
- Documentation Readme references missing example/sample files HOT 1
- Repo housekeeping HOT 1
- Data type mismatch in applicability bypasses checking HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ids.