Expand description
Selectors and values by path (#464): the facade’s ifc::selector.
IfcModel::select filters the model with a selector such as
IfcWall, Pset_WallCommon.IsExternal=TRUE (grammar
SELECTOR_GRAMMAR_VERSION); IfcModel::get_value reads a value by
path (type.Name, Pset_WallCommon.FireRating) and
IfcModel::set_value writes one, from a plain host value coerced as
IfcModel::set_attribute_by_name_plain coerces it for an attribute,
or wrapped in the type of the property already stated for a property.
A selector or path that does not parse, and a class or attribute the
declared release does not declare, are refused with
invalid-selector, whose BindingError::span is the byte range of
the offending text in the UTF-8 query. Property facets and paths read
with feature properties, property writes need properties-write;
without them they refuse with feature-disabled.
Enums§
- Selected
- A value read by path, for a host: a scalar, a list, or a property set’s named values.
Constants§
- SELECTOR_
GRAMMAR_ VERSION - The version of the selector grammar the bindings parse.
Functions§
- canonical_
selector queryparsed, in the canonical form the grammar writes: spacing, quoting and aliases normalised. Refused withinvalid-selector.