Expand description
Transactional authoring of systems, ports and their connections.
§Slot layouts come from the readers
Each relationship here has its own idea of which end is which: IfcRelAssignsToGroup names members at slot 4 and the group at 6, IfcRelNests parent at 4 and children at 5, IfcRelConnectsPortToElement port at 4 and element at 5. The reading side already encodes all of that; authoring resolves the same constants so one cannot be corrected without the other.
§Releases and OwnerHistory (#202)
IfcRoot.OwnerHistory is required in IFC2X3 TC1 and OPTIONAL from
IFC4 on:
IFC2X3_TC1 OwnerHistory : IfcOwnerHistory;
IFC4 OwnerHistory : OPTIONAL IfcOwnerHistory;
IFC4X3_ADD2 OwnerHistory : OPTIONAL IfcOwnerHistory;The writers without a model (create_system, connect_ports, …)
cannot see the release. They write the IFC4/IFC4X3 layout with
OwnerHistory $, so their records are IFC4/IFC4X3 only. Each has a
*_with_owner_history variant that takes the model, binds its declared
release (release.rs), lays the record out by attribute name from that
release’s table, and takes a caller-supplied IfcOwnerHistory, which
must exist (in the model or staged on the transaction) and be an
IfcOwnerHistory; one is never invented here. This follows
ifc-material (#77), ifc-properties (#191) and ifc-classification
(#194). In IFC4 and IFC4X3 a variant writes the plain writer’s record
with the reference in the optional slot.
Structs§
- Classified
System Draft - Attributes of a classified system beyond
GlobalIdandName. - Element
Attributes - Optional descriptive attributes shared by every distribution element.
Enums§
- Distribution
Element Kind - A concrete distribution element class.
- System
Authoring Error - Why a systems record was refused.
- System
Kind - Which classified system is being staged.
Functions§
- assign_
to_ group - Stage an
IfcRelAssignsToGroup: elements joined into a system. - assign_
to_ group_ with_ owner_ history assign_to_groupinmodel’s declared release, with a caller-suppliedIfcOwnerHistory.- connect_
port_ to_ element - Stage an
IfcRelConnectsPortToElement. - connect_
port_ to_ element_ with_ owner_ history connect_port_to_elementinmodel’s declared release, with a caller-suppliedIfcOwnerHistory.- connect_
ports - Stage an
IfcRelConnectsPorts: the link the flow graph walks. - connect_
ports_ with_ owner_ history connect_portsinmodel’s declared release, with a caller-suppliedIfcOwnerHistory.- contain_
in_ spatial_ structure Deprecated - Stage an
IfcRelContainedInSpatialStructure. - contain_
in_ spatial_ structure_ with_ owner_ history Deprecated contain_in_spatial_structureinmodel’s declared release, with a caller-suppliedIfcOwnerHistory.- create_
classified_ system - Stage a classified system.
- create_
classified_ system_ with_ owner_ history create_classified_systeminmodel’s declared release, with a caller-suppliedIfcOwnerHistory(#202).- create_
distribution_ element - Stage a distribution element occurrence.
- create_
distribution_ element_ with_ owner_ history create_distribution_elementinmodel’s declared release, with a caller-suppliedIfcOwnerHistory, which IFC2X3 requires (#202).- create_
group - Stage an
IfcGroup: an arbitrary named collection. - create_
group_ with_ owner_ history create_groupinmodel’s declared release, with a caller-suppliedIfcOwnerHistory.- create_
port - Stage an
IfcDistributionPort. - create_
port_ with_ owner_ history create_portinmodel’s declared release, with a caller-suppliedIfcOwnerHistory.- create_
spatial_ zone - Stage an
IfcSpatialZone: a zone that occupies space. - create_
spatial_ zone_ with_ owner_ history create_spatial_zoneinmodel’s declared release, with a caller-suppliedIfcOwnerHistory(#202).- create_
system - Stage an
IfcSystem. - create_
system_ with_ owner_ history create_systeminmodel’s declared release, with a caller-suppliedIfcOwnerHistory, which IFC2X3 requires.- create_
zone - Stage an
IfcZone: spaces grouped for a shared purpose. - create_
zone_ with_ owner_ history create_zoneinmodel’s declared release, with a caller-suppliedIfcOwnerHistory, which IFC2X3 requires (#202).- nest_
ports - Stage an
IfcRelNests: ports nested under the element owning them. - nest_
ports_ with_ owner_ history nest_portsinmodel’s declared release, with a caller-suppliedIfcOwnerHistory.- reference_
in_ spatial_ structure - Stage an
IfcRelReferencedInSpatialStructure. - reference_
in_ spatial_ structure_ with_ owner_ history reference_in_spatial_structureinmodel’s declared release, with a caller-suppliedIfcOwnerHistory.- serve_
buildings Deprecated - Stage an
IfcRelServicesBuildingsinmodel’s declared release, withOwnerHistory$:systemservesbuildings. - serve_
buildings_ with_ owner_ history Deprecated serve_buildingswith a caller-suppliedIfcOwnerHistory, which IFC2X3 requires.
Type Aliases§
- System
Authoring Result - Result of staging a systems record.