Git Product home page Git Product logo

auto-modeling's Introduction

One Click to Build (OCB) :

Revit API .NET

Revit plugin to generate a 3D BIM Model from 2D CAD Drawings.

How to use:-

Test the plugin by Revit 2021 with all default family libraries installed. The default folder for Revit Add-in is C:\ProgramData\Autodesk\Revit\Addins\2021\ , or C:\Users\$username$\AppData\Roaming\Autodesk\Revit\Addins\2021\.
The build events of the Visual Studio project will copy all necessary files to that directory after you build the source code.

Then start Revit (Plugin Demo):

  • Insert -> Link CAD -> *.dwg
  • OCB -> Settings (check if all .rfa files are loaded)
  • OCB -> Settings (Pick the element from DWG to detect its layer name)
  • OCB -> Build up the architectural elements such as (Columns, Walls, Windows, Doors)
  • Select the linked DWG in the floorplan view
  • Create scheduling to the created elements and export it to Excel.

Compile the source code

OCB add-in has been tested by Revit 2021. To apply it to other versions you need to rebuild it with correct .NET Framework.
Revit 2022/2021 - .NET 4.8
Revit 2020/2019 - .NET 4.7
Revit 2018 - .NET 4.6

REFERENCE | The project hosts two external references, RevitAPI.dll and RevitAPIUI.dll.

BUILD EVENTS | Set additional macros in post-build event to copy the built files to the Revit add-in folder.

copy "$(TargetDir)"."" "$(AppData)\Autodesk\Revit\Addins\2021\"

DEBUG | Within the project property, under DEBUG panel set external program as ...\Autodesk\Revit 2021\Revit.exe

About Plugin

This project uses Teigha for temporary development.

A demo is online to build up the building model from CAD drawings. Only core components are covered (Columns, Walls, Windows, Doors). For now the project still needs more cunning & robust algorithms to create more elements, which will be the main enhance in the next-phase coding.

auto-modeling's People

Contributors

kariemsalah 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.