Table Cell events for AutoCAD 2011

Table Cell events for AutoCAD 2011

Anonymous
Not applicable
541 Views
1 Reply
Message 1 of 2

Table Cell events for AutoCAD 2011

Anonymous
Not applicable

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?

0 Likes
542 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable

I have the same problem. Did you solve it?

0 Likes