How it works

Revit2Blender is two programs that talk over a TCP socket. The Blender add-on is the server: it opens a port and waits. The Revit add-in is the client: it connects out, reads the view you sync from, sends it in chunks, then sends the elements that change.

<!-- image: 02_how_it_works.png | How Revit2Blender works: the Revit add-in as client, the Blender add-on as server, live incremental sync -->

Revit's API can only be used on its main thread, so the add-in reads elements there in short slices and hands control back to Revit in between. Both applications must be running. There is no intermediate file.

The connection carries a source name built from the Revit project, so several projects, and Archicad2Blender or Rhino2Blender sources, can share one Blender scene.

How it works · Revit2Blender · Fulford