buildingSMART / buildingSMART/IDS

How to ask for two attributes in form of an "AND" condition?

Open
#176 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
318
Forks
90
PR merge metrics
No merged PRs in 30d

Description

I have a usecase which requires to check if the content of two attributes are filled (equal using the facet definition) / have a specific values (using the values definition). Both attributes should be filled / have some values inside to be apply to the information requirements.
Using the IFCClasses isn't possible because other instances with the identical IFCClass won't require those information.

Example:
There are severval Enities as IfcValve in the model, but only those valves which have the attribut "_operational relevant_" with the value "_yes_" require the attribute "_field designation_" which itself is requiring to be filled.

In my point if view the two snippes should be combined:

Asking for the attribute operational relevant
```


operational relevant


yes

```

Asking for the attribute field designation
```


field designation

```

As far as i search the documentation and the examples [https://github.com/buildingSMART/IDS/blob/master/Documentation/testcases-attribute.md] this (edge?) case isn't documented yet with examples.

My Questions are:
Has it been thought about it to implement such an AND Condition in the IDS ?
If so what would be syntax ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Documentation/testcases-attribute.md and the existing IDS attribute, facet, and value examples. Determine whether conditional requirements are already supported, then agree on the intended AND-condition syntax and document a representative example; completion depends on an accepted specification decision.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.