Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
NatCad74
611 Views, 1 Reply

WPF

I’m looking into using WPF for Revit UIs and trying to find a solution to move forward with. I think WPF has great potential for use within Revit and could be implemented with a simple solution that is easy to maintain. 


Has anyone been able to implement WPF with any success? 


I’ve had a quick look at the REX SDK which seems nice and very powerful however it’s a bit complicated and restrictive for my needs.


My requirements would be:


1.Use of WPF and WinForms with-in the same project and the use of various dialogs ie no MainWindow

This seems doable


2.Implementation of MVVM pattern for wiring up WPF views 

Like [url]http://galasoft.ch/mvvm/[/url] or [url]http://blog.vuscode.com/malovicn/archive/2010/11/07/naked-mvvm-simplest-possible-mvvm-approach.aspx[...


3.Blendability and being able to launch dialogs by-passing Revit

Seems possible with REX SDK 


4.Testability

5.Template add-in & Snippet support


I think this could allow rapid Revit development opening the door to some pretty cool apps.


I’m doing some tests to see what’s possible and hope to end up with some form of framework but I am no expert on this. 


What about a collaborated open source project if there are enough willing experts?


Interested in hearing others thoughts and opinions.

1 REPLY 1
Message 2 of 2
jeremytammik
in reply to: NatCad74

I asked the Revit development team about using WPF, and they replied that they are not aware of any issues with it.

Cheers, Jeremy.
--
Jeremy Tammik
Autodesk Developer Network -- http://www.autodesk.com/joinadn
The Building Coder -- http://thebuildingcoder.typepad.com



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Rail Community