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.
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