pub fn create_system_with_owner_history(
tx: &mut Transaction,
model: &Model,
global_id: &str,
name: Option<&str>,
owner_history: EntityId,
) -> SystemAuthoringResult<EntityId>Expand description
create_system in model’s declared release,
with a caller-supplied IfcOwnerHistory, which IFC2X3 requires.
The release is bound from FILE_SCHEMA (none binds IFC4). The owner
history is never invented: build it with ifc-author.
§Errors
Those of create_system, and:
MultipleSchemas or
UnsupportedSchema if
the model binds no single known release;
MissingReference if
owner_history is neither in the model nor staged;
WrongReferenceType
if it is not an IfcOwnerHistory. Nothing is staged on an error.