C#C
C#3y ago
Curious

✅ Win Form Event Handlers question

Hi, I was just wondering if there is an event handler when the win form is idle that I can then run code in. I am looking to use it as a modeless form alongside the Revit API to sync a 2D drawing and a 3D model view together. I am currently using the Revit API Idle event, however I want to change this method of functionality to be toggled via a button in a win form as it adds unnecessary load to the Revit application.

Once alternative method I thought about was running on a mouse move event, or if there is some kind of user input.
Was this page helpful?