title: BIM model into Scene
body: <p>Does anyone know how to convert an <code>.ifc</code> file into a Scene using SceneKit? I have tried with <a href="https://github.com/eugenebokhan/AssetImportKit" rel="nofollow noreferrer">AssetImportKit</a> but had no luck using the following code:</p>
  <pre><code>import UIKit
  import SceneKit
  import AssetImportKit
  
  class ViewController: UIViewController {
  
      @IBOutlet weak var sceneView: SCNView!
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          do {
            let assimpScene = try SCNScene.assimpScene(filePath: &quot;AC20-Institute-Var-2.ifc&quot;,
                                                        postProcessSteps: [.defaultQuality])
            let modelScene = assimpScene.modelScene
            modelScene.rootNode.childNodes.forEach {
              sceneView.scene?.rootNode.addChildNode($0)
            }
          } catch {
            debugPrint(error.localizedDescription)
          }
      }
  }
  </code></pre>
  <p>but get the error:</p>
  <pre><code>&quot; Scene importing failed for filePath AC20-Institute-Var-2.ifc&quot;
  &quot; Scene importing failed with error &quot;
  &quot;&quot;
  </code></pre>
  <p>I feel there could be a better way to do this instead by converting the <code>.ifc</code> file into a <code>.dae/.obj/.usdz</code> file then load that as a scene without the need for AssetImportKit.</p>
  <p>Any help or insight would be great thanks</p>