Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Paolo F Cantoni on August 22, 2005, 11:50:47 pm

Title: Setting Watches on EA.AI in MS C#
Post by: Paolo F Cantoni on August 22, 2005, 11:50:47 pm
Hi,

I can't seem to set a watch on any EA Automation Interface property.  I get "variable.Property is not valid."

Is this because it is a COM component?

Do I always need to copy the property to a local variable to "watch" it?

I just installed .769 and it's now throwing COM exceptions.  I don't think it's EA, but I can't tell since I can't see the values in the actual EA properties... ???

Help!
Paolo
Title: Re: Setting Watches on EA.AI in MS C#
Post by: TomO on August 31, 2005, 11:42:20 pm
Quote
Hi,

I can't seem to set a watch on any EA Automation Interface property.  I get "variable.Property is not valid."


There is an answer on how to get around this and why it happens here:
http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=Automation;action=display;num=1125520996