.NET

Reply
Active Member
TimFells
Posts: 9
Registered: ‎04-24-2008
Message 1 of 2 (136 Views)

Table Cell events for AutoCAD 2011

136 Views, 1 Replies
12-03-2011 07:54 AM

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?

Active Member
maccip
Posts: 10
Registered: ‎02-24-2006
Message 2 of 2 (80 Views)

Re: Table Cell events for AutoCAD 2011

02-13-2013 02:56 AM in reply to: TimFells

I have the same problem. Did you solve it?

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.