DeleteWalls is an application that takes in a rvt file and outputs another rvt file with all of the walls removed.
This project was built in Visual Studio 2019. Download it here.
This sample references Revit 2021's RevitAPI.dll
and Nuget pakcage DesignAutomationBridge for Revit 2021.
In order to POST appbundles, activities, and workitems you must have credentials for Forge.
Clone this repository and open DeleteWalls.sln
in Visual Studio.
In the DeleteWalls C# project, repair the references to DesignAutomationBridge
and RevitAPI
. You can do this by removing and re-adding the references RevitAPI
, or by opening the DeleteWalls.csproj
for edit and manually updating the reference paths.
Find RevitAPI.dll
in your Revit 2021 install location and note its location.
Restore DesignAutomationBridge for Revit 2021. DesignAutomationBridge.dlls for other Revit versions can also be found in the same gallery.
Build DeleteWalls.sln
in Release
or Debug
configuration.
-
Clone the other repository and find the corresponding version of test handler (such as DesignAutomationHandler2021)
https://github.com/Autodesk-Forge/design.automation-csharp-revit.local.debug.tool
-
Build the test handler project.
-
Start to debug
DeleteWalls.sln
-
Under the Add-Ins ribbon tab, click the External Tools drop-down, then click DesignAutomationHandler. It will start to run DeleteWalls plugin. Set a breakpoint to debug.