I use AutoCAD 2006 and have a number of VBA applications I want to port over to .Net
In VBA I could capture events on a particular BlockReference or AttributeReference using the following code in a class module "clsAttEvent"
{code}
Public WithEvents oAtt As AcadAttributeReference
Private Sub oAtt_Modified(ByVal pObject As IAcadObject)
'Stuff happens here
End Sub
{code}
as long as I had an object of type clsAttEvent in scope and had set the oAtt to an attribute reference
I can't seem to accomplish the same using the ObjectARX .Net Managed Wrappers
Is there a way to have a BlockReference or AttributeReference capture events in AutoCAD 2006 w/o having to capture all database events first and filter?
If not, what is the earliest version (if any) of AutoCAD that allows events to be bound to BlockReferences or AttributeReferences?