Module relationship_slots

Module relationship_slots 

Source
Expand description

Relationship attribute slots per IfcRelationship subtype (issue #4205).

DO NOT EDIT — generated by scripts/generate-server-relationship-slots.mjs from @ifc-lite/parser’s schema-derived relationship-schema-slots.ts (the same source the in-browser/WASM columnar parser resolves relationship slots against), so the server-parse path reads RelatingX/RelatedY at IDENTICAL attribute positions.

Lookup key is the UPPERCASE STEP type name. Indices are ABSOLUTE attribute positions (i.e. relationship-schema-slots.ts’s 0-based-after-root index plus the shared 4-attribute IfcRoot+IfcRelationship prefix), matching what DecodedEntity::get_ref/get_list expect.

54 of 55 schema-derived concrete IfcRelationship subtypes resolved a slot plan. IFCRELASSOCIATES did not: it has no RelatingX attribute of its own in ANY bundled schema version (an abstract supertype that IFC2X3’s bundled registry happens to mark non-abstract — see the generator script’s header for the full explanation). It is intentionally absent from this table; no concrete STEP file instantiates it directly.

Structs§

RelationshipSlots
One relationship type’s relating/related attribute slots.

Functions§

relationship_slots
Relating/related attribute slots for a STEP relationship keyword, or None if the type is not a schema-derived concrete IfcRelationship subtype (or is the single documented exception above).