Skip to main content

template_deviations

Function template_deviations 

Source
pub fn template_deviations(
    model: &Model,
) -> Result<TemplateReport, TemplateError>
Expand description

Compare every templated property set in the model with its templates.

A set is templated when an IfcRelDefinesByTemplate names it; a set with several templates is compared with each. Untemplated sets are not looked at. See TemplateFinding for what is reported and TemplateReport for the order.

ยงErrors

TemplateError::Release when the model binds to no single supported release (as exact_schema fails), and TemplateError::NoTemplates for a release without templates (IFC2X3).