This document presents a new algorithm for extracting partial and total models from Industry Foundation Classes (IFC) instance files without requiring an IFC schema or model view definition. The algorithm traverses the IFC data instances using a graph structure and breadth-first search. It was tested on 10 IFC test cases and an actual building information model, generating partial and total models. The extracted models were validated and results were stored in an Excel file containing hyperlinks between IFC entities. The algorithm aims to parse IFC data generated by BIM software in an efficient manner without external dependencies.