pub fn systems(
model: &Model,
) -> Result<(Vec<System>, Vec<SystemAnomaly>), SchemaResolutionError>Expand description
Every system in the file, with members resolved and anomalies reported.
Systems are found by type, not by walking memberships: a file may declare
a system that nothing is assigned to yet, and dropping it would understate
the model. Subtypes are included, so IfcDistributionSystem and
IfcBuildingSystem are both found in IFC4, and IfcElectricalCircuit is
found in IFC2X3 – but IfcZone is NOT, because it subtypes IfcGroup
rather than IfcSystem in IFC2X3 (issue #52).
Reads against the release the model’s FILE_SCHEMA header declares:
IFC2X3, IFC4 or IFC4X3.
§Errors
SchemaResolutionError when the model’s FILE_SCHEMA binds no release
this crate is verified for (see crate::schema_of). Nothing is read
against a release the file did not declare.