Skip to main content

Module facility

Module facility 

Source
Expand description

Facilities and facility parts: the non-building spatial containers.

IfcBuilding is one facility among several. IFC4X3 added bridges, roads, railways and marine facilities as siblings, each with its own PredefinedType enum, and a parallel family of parts.

Two slot layouts, and the difference is not cosmetic:

  • A facility carries an optional PredefinedType at slot 9.
  • A part carries a mandatory UsageType at 9 and pushes PredefinedType to 10.

Writing a part as though it were a facility puts the usage token in the predefined slot, which parses and means something else.

Structs§

Facility
One facility class and the slots that distinguish it.
FacilityDraft
Attributes a facility shares with every spatial container.

Enums§

FacilityError
Why a facility was refused.

Constants§

ALL
Every facility class this crate can author.
IFCBRIDGE
IfcBridge.
IFCBRIDGEPART
IfcBridgePart.
IFCFACILITY
IfcFacility.
IFCFACILITYPARTCOMMON
IfcFacilityPartCommon.
IFCMARINEFACILITY
IfcMarineFacility.
IFCMARINEPART
IfcMarinePart.
IFCRAILWAY
IfcRailway.
IFCRAILWAYPART
IfcRailwayPart.
IFCROAD
IfcRoad.
IFCROADPART
IfcRoadPart.

Functions§

create_facility
Stage a facility or facility part.
create_facility_with_owner_history
create_facility in the model’s declared release, with a caller-supplied IfcOwnerHistory (#202).

Type Aliases§

FacilityResult
Result of authoring a facility.