Use different UI framework (e.g. MetroFramework) with Revit API

Use different UI framework (e.g. MetroFramework) with Revit API

Anonymous
Not applicable
1,060 Views
1 Reply
Message 1 of 2

Use different UI framework (e.g. MetroFramework) with Revit API

Anonymous
Not applicable

Hi, I am developing Revit Plugins for 2 years and I am wondering if it is possible to use a different UI (not standard Windows Forms or WPF).

When I try to install the Metro Framework and use just one Button from it, I get a

System.IO.FileNotFoundException

 The given file or a dependency cannot be found.

I tried to import the framework via the NuGet package manager and via manually creating the refereces.

 

Anyone could help me with that problem?

Or is there any other solution for using other UI controls/forms?

 

Best Regards

Roman

0 Likes
1,061 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

Dear Roman,

  

You can use absolutely any framework you like.

 

The system requirements only specify that the Revit add-in needs to be a valid .NET assembly with the appropriate properties:

 

The Revit .NET API allows you to program with any .NET compliant language including Visual Basic.NET, C#, and C++/CLI.

 

https://help.autodesk.com/view/RVT/2021/ENU/?guid=Revit_API_Revit_API_Developers_Guide_Introduction_...

  

The problem you describe is that a required dependency is not found. That can probably be fixed.

 

Search this forum, The Building Coder, and elsewhere for 'FileNotFoundException':

 

 

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes