Skip to main content

property_set_template_checked

Function property_set_template_checked 

Source
pub fn property_set_template_checked(
    model: &Model,
    id: EntityId,
) -> Result<(PropertySetTemplate, Vec<PropertyAnomaly>), TemplateError>
Expand description

Read one IfcPropertySetTemplate bound to the release the model declares, reporting every malformed fact met on the way.

The anomalies are those described on property_template_checked, for the set template and every template below it. Only nested members cost the traversal budget, as for property sets.

ยงErrors

TemplateError::Release or TemplateError::NoTemplates when the model binds to no release that has templates; TemplateError::MissingEntity or TemplateError::NotATemplate for the entity itself.