Book a Demo

Author Topic: Retrieving Connector End attributes  (Read 3154 times)

Andrew Mitchell

  • EA Novice
  • *
  • Posts: 11
  • Karma: +1/-0
    • View Profile
Retrieving Connector End attributes
« on: November 04, 2008, 11:01:14 pm »
Can someone tell me if this is a known issue or if I am doing something wrong when I use the Automation Interface.  I have a model that I'm reading and would like to process connectors depending on the navigablity of their ends.  When I ran my code over a model I received the following information about a connector (but I knew the client end was navigable):

10:32:20.906:Process Association (supplierID: 1459 clientID: 6552)
10:32:20.921:.... supplier navigable: False (“”)
10:32:20.921:.... client navigable: False (“”)

I opened the model in EA, examined the connector and ran the code again.  This time I got the result I was expecting:

11:24:09.234:Process Association (supplierID: 1459 clientID: 6552)
11:24:09.250:.... supplier navigable: False (“Unspecified”)
11:24:09.250:.... client navigable: True (“Navigable”)

Andrew Mitchell

  • EA Novice
  • *
  • Posts: 11
  • Karma: +1/-0
    • View Profile
Re: Retrieving Connector End attributes
« Reply #1 on: November 05, 2008, 01:13:01 am »
If it helps, I believe the model was created in another package (Rational XDE) and exported/imported to EA.  So the Connectors may have not been created or viewed using the GUI.

Andrew Mitchell

  • EA Novice
  • *
  • Posts: 11
  • Karma: +1/-0
    • View Profile
Re: Retrieving Connector End attributes
« Reply #2 on: November 05, 2008, 04:09:57 am »
Ok, there is a direct corrolation between the direction attribute and the navigability of the ends.  It looks like the conversion process only imported the direction and not the navigablity.  This is good enough for me to use.