Expand description
Entity metadata extraction.
ConstantsΒ§
- UNKNOWN_
TYPE_ πFALLBACK - Unknown-type fallback, mirroring the WASM pathβs
extractRootAttributesFromEntity: GlobalId 0, Name 2, Description 3, ObjectType 4, Tag 7 (the IfcElement/IfcRoot layout), and NO PredefinedType. Applied only when the type is absent from the schema registry β a KNOWN type without an attribute keeps its -1 and stays empty on both parse paths (issue #3949 extended this fallback to GlobalId/Name).
FunctionsΒ§
- enum_at π
- PredefinedType enum token at a registry index. STEP enums decode to
AttributeValue::Enumwith the dots already stripped (.SOLIDWALL.βSOLIDWALL), matching the WASMextractAllEntityAttributesdisplay value β read viaas_enum(), neverget_string(). - extract_
entity_ πmetadata - Extract entity metadata for all entities.
- string_
at π - Non-empty string attribute at a registry index (-1 = not declared).