Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

150 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Revit Revit .NET .NET C++/CLI Made With

VPlug-Revit

In this repository i am developing a plugin for Autodesk Revit

Why C++/CLI?

This project deliberately uses "C++/CLI" instead of the more common "C#". This makes sense in several scenarios.

- 📚 Educational Objective: This project serves as a visual aid on how to work with cross-language interoperability in the .NET and Revit ecosystem.

- 🔗 Integration of existing C++ libraries

- 🚀 Performance

Project goal

- 📌 Learn to work with C++/CLI

- 📌 Learn RevitAPI

- 📌 Create functionality that simplifies the work of BIM specialists and designers

The project is being developed in Visual Studio 2022


Register Plugin

Create file .addin in the directory X:\Users\%USER%\AppData\Roaming\Autodesk\Revit\Addins\20XX\

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<RevitAddIns>
  <AddIn Type="Application">
    <Name>VPlug</Name>
    <Assembly>"%your_path%\VPlug.dll"</Assembly>
    <AddInId>{75B71A2F-2ACD-48CE-8518-FF869D3A8440}</AddInId>
    <FullClassName>VPlug.Main</FullClassName>
    <VendorId>vasyusha</VendorId>
    <VendorDescription>https://github.com/vasyusha/VPlug-Revit</VendorDescription>
  </AddIn>
</RevitAddIns>

Project tree

VPlug/
├───Configuration/                  # configuration file examples
│   └───Parameter_Checks/           # checking parameters are filled
├───Executable/						# executable files
│   ├───Commands/					# plugin function initialization files
│   ├───Config/						# configuration processing
│   │   └───json/					# processing json
│   ├───Export/						# export processing
│   │   └───html/					# export html
│   ├───Revit/						# wrappers, helper classes, functions for RevitAPI
│   │   ├───Elements/				# Revit element wrappers
│   │   ├───Filters/				# filtering, searching, customization
│   │   └───Services/				# logic of elements and work
│   └───UI/							# visual representation
│       ├───VPControls/				# Controls
│       └───VPForms/				# Forms
└───Headlines/                		# header files
    ├───Commands/					# plugin function initialization files
    ├───Config/						# configuration processing
    │   └───json/					# processing json
    ├───Export/						# export processing
    │   └───html/					# export html
    ├───Revit/						# wrappers, helper classes, functions for RevitAPI
    │   ├───Elements/				# Revit element wrappers
    │   ├───Filters/				# filtering, searching, customization
    │   └───Services/				# logic of elements and work
    └───UI/							# visual representation
        ├───VPControls/				# Controls
        └───VPForms/				# Forms

Functional

Панель Действие Что делает Как использовать Документация
Проверка Проверить/Заполнение параметров Очевидно (В работе) (В работе)

About

Developing a plugin for Revit

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages