Message 1 of 2
Table Cell events for AutoCAD 2011
Not applicable
12-03-2011
07:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to find out which Cell in a table is being / has been modified, in AutoCAD 2011 with C#.
I have subscribed to the Table's .Modified event, but when this is triggered by modifying some MText in a Cell, the Table's .HasSubSelection property is false and its .SubSelection property throws an exception. Conversely, modifying the MText in a Cell does not trigger the Table's .SubObjectModified event.
I noticed a class called Autodesk.AutoCAD.Internal.Reactors.TableSubSelectFilter which has a event called CellSelected, but I have no idea how to instantiate such a class for the Table and subscribe to this event.
Does anyone know how Autodesk intends you to determine which Cell of a Table has been modified?