A Revit custom exporter add-in generating JSON output for the vA3C three.js AEC viewer.
RvtVa3c is a standard Revit add-in application.
It is installed in the standard manner, i.e., by copying two files to the standard Revit Add-Ins folder:
- The .NET assembly DLL RvtVa3c.dll
- The add-in manifest RvtVa3c.addin
In order to generate the DLL, you download and compile the Visual Studio solution:
- Download or clone the RvtVa3c GitHub repository.
- Open the solution file RvtVa3c.sln in Visual Studio 2012 or later.
- Build the solution locally:
-
Add references to the Revit API assembly files RevitAPI.dll and RevitAPIUI.dll, located in your Revit installation directory, e.g.,
C:\Program Files\Autodesk\Revit Architecture 2015
-
If you wish to debug, set up the path to the Revit executable in the Debug tab, Start External Program; change the path to your system installation, e.g.,�
C:\Program Files\Autodesk\Revit Architecture 2015\Revit.exe
-
Build the solution.
-
This will open the Revit installation you referred to, and install the plugin, which can then be launched from the Revit Add-Ins tab.
And wonderfully exports the your Revit model to a JSON file.
For more details, please refer to the Revit API Getting Started material, especially the DevTV and My First Revit Plugin tutorials.
- AEC Hackathon – From the Midst of the Fray
- RvtVa3c – Revit Va3c Generic AEC Viewer JSON Export
- RvtVa3c Assembly Resolver
- Three.js AEC Viewer Progress
- Integrating RvtVa3c into Three.js
- Custom User Settings Storage and RvtVa3c Update
- RvtVa3c Enhancement Filters Parameters
- Texture support
- Improved handling of normals to gracefully display non-planar surfaces
Implemented by Matt Mason and Jeremy Tammik, The Building Coder, Autodesk Inc., at the New York AEC Hackathon in May 2014.