WindowsForm dynamic update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I've built a Windows Form in Revit, that displays some information on the project when a button is clicked.
So far, I've used the DocumentChanged() event to determine if something has changed since the last time I clicked the button.
What I'd like to achieve is a Form where it allows to dynamically select and modify objects in Revit, and display the updated information in the Form, without having to exit and restart the Form.
My current Form is modeless, meaning it doesn't allow any actions in Revit while it is active. I understand that I might need to use a modal form, but I'm not sure if that will allow me the same functionality.
I've tried reading the information about ExternalEvents and Modeless_Dialogue etc., but it's very hard for me to understand, and no matter how much I read into it I quickly get confused as to which method will help me achieve my goal.
Any advice? I'd appreciate even a direction on which specific things to read up on.
Thanks