paxnight.blogg.se

Revit project template file location
Revit project template file location





When we add the folder, Visual Studio will recognize the location of the reference files, and the warning icon will not show up anymore. To enable the location of these files to be always found, let us proceed to the next step.Ħ.) In the Solution Explorer window, right-click on the project name, and select Properties… and in the properties window, select the Reference Paths item.ħ.) Click the ellipsis button on the upper right hand of the window, and browse for the folder where the reference files we just added are located.Ĭlick the Add Folder button. But most of the time, these files post a warning saying that their location is not found. Try to expand the References item from the Solution Explorer window, and we can confirm that the files were added.Įverytime we create a new Revit plugin project, these files will be included in our project. Then on the Reference Manager window, click OK. Click on the Browse… button.ĥ.) Browse to your Revit application location, and select the files RevitAPI.dll and RevitAPIUI.dll. All subsequent files will be deleted automatically.ģ.) Let us add the reference files we need for creating new Revit API plugins.įrom the Solution Explorer window, right-click on References, and click Add Reference…Ĥ.) The Reference Manager window as shown below will open.

revit project template file location

There are files created here that we really do not need, so we have to remove them.Ģ.) Delete the files MainWindow.xaml, App.xaml and App.config. Initially, the new project is created like the figure below. Name your project appropriately, (in my case, it’s Revit API with WPF), and then click the OK button. On the left panel, select either C# or Visual Basic, and from the center panel, select WPF Application (see figure below). We will be starting to create a project template from a WPF application.ġ.) From the File menu, create a new project. Visual Studio does not provide a class library project template that we can use for our WOF-ed plugins. For the item template, however, the objective is to be able to create plug-in executable classes without repeatedly creating lines common to your coding workflow.

revit project template file location revit project template file location

NET.įor the first part, we will discuss creating project and item templates that we will use to create new projects with WPF functionality. In this three-part series, I will be tackling about proper basic integration of Windows Presentation Foundation (WPF) in your Revit API plug-ins using C#.







Revit project template file location