pub fn exact_schema(model: &Model) -> Result<SchemaVersion, ExactPropertyError>Expand description
The IFC release a model’s properties are resolved against.
This is the release exact_property binds to: the single FILE_SCHEMA
token, if it names a release the exact resolver supports (IFC2X3 TC1,
IFC4 ADD2 TC1 or IFC4X3 ADD2, the bundled tables). A consumer binds its vocabulary per release with this answer
instead of re-parsing the header. It fails exactly as exact_property
fails at model level: diagnostics, no schema, several schemas, or an
unsupported one.
§Errors
ExactPropertyError::IncompleteModel, ExactPropertyError::MissingSchema,
ExactPropertyError::MultipleSchemas, or
ExactPropertyError::UnsupportedSchema.