Comments (4)
from ids.
You should definitely be able to do what you're suggesting: use an Attribute Facet as the sole Applicability selector. It's legal IDS syntax. E.g as in the examples
I'd take the specific issue up with @Moult and the IfcOpenShell team- it's partly why I raised #181 as it's pretty clear there can be differences in the implementations of the applicability logic across implementors
from ids.
I'd expect it to technically pass. Which software are you using?
The syntax looks correct. But I'm not sure it'll be checking what you are hoping for...
This specification is say "The model should have entities that have a populated GlobalId attribute". Given that IfcRoot.GlobalId
is a required attribute, that will include any entity that is a sub-class of IfcRoot - so as well as all IfcObjects that will include IfcTypeObjects, IfcPropertySets, IfcMaterials, all the IfcRelations and a whole lot more...
I'd be very careful using just Attributes as an applicability selector (what would you expect AttributeName ="Description" to return? Will all implementations return the same?).
Until the standard supports entity sub-classes, (e.g. #86) you'd probably be better served with an enumeration restriction of the explicit entity types you're looking for - a bit like:
<ids:specification ifcVersion="IFC2X3 IFC4" name="Walls are expected" minOccurs="1">
<ids:applicability>
<ids:entity>
<ids:name>
<xs:restriction base="xs:string">
<xs:enumeration value="IFCWALL" />
<xs:enumeration value="IFCWALLSTANDARDCASE" />
<!-- etc -->
</xs:restriction>
</ids:name>
</ids:entity>
</ids:applicability>
</ids:specification>
from ids.
I am using blenderBIM
I understand, what I find not clear is that in the end, the only facet which is used as an applicability is the entity facet. (Which makes sense considering the IFC schema) And I was trying to create the simplest of IDS to test the other facets in Applicability usage, it turns out I get Fail for attribute with GlobalId, and I think it is because you don't specify attribute of what entity.
In the end I think it would be useful to explain that in the documentation, because unless you find a utility to the other facets in applicability, it should be clear that they are used with requirement intent.
from ids.
Related Issues (20)
- List of datatypes with Enum types used by attributes HOT 6
- List of datatypes without IfcCompoundPlaneAngleMeasure HOT 2
- IfcLogical representation in XML base HOT 1
- IMPROVEMENT: functionality to point towards bSDD (data dictionaries) HOT 4
- IDS BIM
- Restriction of values: Enumeration limited to string-based datatype or do we allow for real, integer and measurements HOT 3
- 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 6
- Wrong file name in the entity directory of test cases HOT 1
- Tolerance test issues in 1.0 HOT 3
- 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 1
- Broken links on dev Readme HOT 1
- Add textual definitions to each IDS element HOT 1
- IfcTester check ifc version?
- Proposal: Permit dataType equivalents for non-measure Property values HOT 4
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.