ifcopenshell.simple_spf.parser.file¶
Module Contents¶
- class ifcopenshell.simple_spf.parser.file.file(result: ifcopenshell.simple_spf.parser.parse.ParseResult)¶
A somewhat compatible interface (but very limited) to ifcopenshell.file
- by_id(id: int) ifcopenshell.simple_spf.parser.transformer.entity_instance¶
Return an IFC entity instance filtered by IFC ID.
- Parameters:
id (int) – STEP numerical identifier
- Raises:
RuntimeError – If id is not found or multiple definitions exist for id.
- Return type:
- by_type(type: str) list[ifcopenshell.simple_spf.parser.transformer.entity_instance]¶
Return IFC objects filtered by IFC Type and wrapped with the entity_instance class. :rtype: list[entity_instance]
- data_¶
- property header¶
- header_¶
- property mvd¶
- property schema_version: tuple[int, int, int, int]¶
Numeric representation of the full IFC schema version.
E.g. IFC4X3_ADD2 is represented as (4, 3, 2, 0).