You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because dataType is a string literal and can't support complex constraints, IDS Authors may need to duplicate specs when checking values (e.g. to include IfcText and IfcLabel variants)
The last one in particular seems to be unintuitive for users. I can prohibit a property by Name / Pset, but not by it's value?
In IDS future I'd propose DataType becomes optional. It would also make sense if it could support complex constraints so we could have enums, regex wildcards etc.
Not sure what the counter argument may be - But I suppose there are examples where we need to be really clear on the dataType/measure being used, such as 'Nominal Length' properties must be IfcLengthMeasures (not IfcText). By making DataType optional we can then be prescriptive when it is important.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This was triggered by #420 and ultimately revisits #206 and a number of other issues around property dataTypes.
The IDS1.0 decision to make dataType a mandatory field on properties when specifying a value has various UX and functional knock-on impacts including
property
, it is not compatible with the specification of the 'dataType' constraint. #420 (without expressing as different construct using prohibited applicability)The last one in particular seems to be unintuitive for users. I can prohibit a property by Name / Pset, but not by it's value?
In IDS future I'd propose DataType becomes optional. It would also make sense if it could support complex constraints so we could have enums, regex wildcards etc.
Not sure what the counter argument may be - But I suppose there are examples where we need to be really clear on the dataType/measure being used, such as 'Nominal Length' properties must be IfcLengthMeasures (not IfcText). By making DataType optional we can then be prescriptive when it is important.
Beta Was this translation helpful? Give feedback.
All reactions