A Revit custom exporter add-in generating JSON output for the vA3C three.js AEC viewer.
RvtVa3c is a Revit add-in implementing an external application and an external command.
It is installed in the standard manner, i.e., by copying two files to the standard Revit Add-Ins folder:
RvtVa3c.dll
RvtVa3c.addin
In order to generate the DLL, you download and compile the Visual Studio solution:
RevitAPI.dll
and RevitAPIUI.dll
, located in your Revit installation directory.C:\Program Files\Autodesk\Revit Architecture 2017\Revit.exe
.This will open the Revit installation and install the plugin.
You can then either start up Revit.exe manually or via the Visual Studio debugger.
In Revit, the RvtVa3c add-in external command can be launched from the Revit Add-Ins tab, which causes it to export your Revit model to a JSON file.
For more information on setting up Revit to discover and load the add-in, please refer to the Revit online help > Developers > Revit API Developers Guide > Introduction > Add-In Integration > Add-in Registration.
For more details on programming Revit add-ins in general, please refer to the Revit API Getting Started material, especially the DevTV and My First Revit Plugin tutorials.
Implemented by Matt Mason and Jeremy Tammik, The Building Coder, Autodesk Inc., at the New York AEC Hackathon in May 2014.
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.