Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: rjensen on September 18, 2008, 11:44:58 pm

Title: Access association class from a connector
Post by: rjensen on September 18, 2008, 11:44:58 pm
Hi all,
I have written an add-in to query all links on class elements in a diagram. When it finds an association to a class that is not currently in the diagram it adds the class.
My challenge is now that some of these associations have association classes linked to them. Does anybody know how to determine that? Right now I am accessing the associations through the EA.Element.Connectors collection, and the EA.ConnectorClass does not seem to hold any info about association class linked to it.
Title: Re: Access association class from a connector
Post by: albinofrenchy on October 31, 2008, 05:38:17 am
For reasons unknown, I believe the ID for this class is stored in the TransitionEvent property as a string.