JavaScript
Clone or download
Permalink
Failed to load latest commit information.
DynVa3c va3s for dynamo Feb 1, 2015
RvtVa3c flat migration to Revit 2018 Jun 29, 2017
models-rvt fixed typos Sep 22, 2014
models added sample project Sep 22, 2014
.gitignore Initial commit May 17, 2014
LICENSE Initial commit May 17, 2014
README.md updated Dec 10, 2016
RvtVa3c.sln va3s for dynamo Feb 1, 2015

README.md

RvtVa3c

A Revit custom exporter add-in generating JSON output for the vA3C three.js AEC viewer.

Setup, Compilation and Installation

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:

  • 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; to build it:
  • Add references to the Revit API assembly files RevitAPI.dll and RevitAPIUI.dll, located in your Revit installation directory.
  • 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 2017\Revit.exe.
  • Build and optionally debug into 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.

Tools and Technologies

Further Reading

Wishlist

  • Texture support
  • Improved handling of normals to gracefully display non-planar surfaces

Authors

Implemented by Matt Mason and Jeremy Tammik, The Building Coder, Autodesk Inc., at the New York AEC Hackathon in May 2014.