Hi everyone.
I'm getting started with the Revit API and I want to do what I believe should be a simple task, but I am not being able to make it.
I have some custom elements (walls, floors and roofs) with custom properties added to them (using shared properties).
I want to add a button for each of the element types mentioned such that when you pressed it, it gets all the custom types used in your current model (this is already done) and then I want to prompt a list with these types, an icon for each of them and its name, and I'd like to be able to click on each item in the list and get to another window (or something similar) and show technical and visual information about the type selected.
I've tried using DockablePanes but I don't think that suits me, because I want it to be dynamic, but I'm not entirely sure.
Any help would be appreciated.
Thank you all,
Jose Antonio Lorencio Abril
Solved! Go to Solution.
Solved by jeremy_tammik. Go to Solution.
Welcome to the Revit API and congratulations on already completing a large part of your project. You have several options using the standard ,NET libraries and Windows APIs. The easiest for a beginner may be to display a model Windows form using ShowDialog:
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.form.showdialog?view=net-5.0
Can't find what you're looking for? Ask the community or share your knowledge.