Can Revit communication with the winform?

Can Revit communication with the winform?

s04049
Enthusiast Enthusiast
546 Views
1 Reply
Message 1 of 2

Can Revit communication with the winform?

s04049
Enthusiast
Enthusiast
I created a datagridview on winform from revit element parameter and created a IExternalEventHandler for change the parameter of the element. On the datagridview after user changed the value of the cell that will trigger the IExternalEventHandler , However if the parameter is read only or mismatch of data store type, i want to reject changes on datagridview but i don't know how to return the information back or trigger the event outside of the winform. Any idea ? Thanks
0 Likes
Accepted solutions (1)
547 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk
Accepted solution

Yes: determine the read-only state and storage type ahead of time, before you set up the datagridview, and disable editing those cells.



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