Giter Site home page Giter Site logo

revitexporter's Introduction

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.

alt text

Tools and Technologies

New

  • Updated for Threejs version >= 125
  • Add texture for exporter
  • Change dimension from millimeters to meters

Wishlist

  • Export to GLTF

Authors

Updated and maintained by LanBao

About

The project inspired by RvtVa3C and was forked for research purpose

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

revitexporter's People

Contributors

baoquylan avatar

Stargazers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.