Book a Demo

Author Topic: Re: Updating sterotype of Connector  (Read 4527 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Updating sterotype of Connector
« on: April 20, 2015, 09:08:14 pm »
If you use Connector.Ster[highlight]e[/highlight]otype it should work I guess.

Geert

Adam105

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Updating sterotype of Connector
« Reply #1 on: April 20, 2015, 09:27:43 pm »
Thanks for the quick response. Firstly, that was stupid of me, awful speller haha. Secondly, it now displays two types within my diagrams such as;

<<Need, dependsOn>>

It displays the correct properties if I look within the properties window of the the field.


EDIT: Must have accidently deleted first post.  I am looking to update the sterotype field of a connector using a script, by importing a tab delimited file. Works correctly in the following format for Direction, Notes and Alias.

Code: [Select]
     Connector.Direction = Direction;
      Connector.Notes=Description;
      Connector.Alias=Alias;
      Connector.Stereotype=Relationship;
« Last Edit: April 20, 2015, 09:30:36 pm by Adam105 »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Updating sterotype of Connector
« Reply #2 on: April 20, 2015, 11:02:20 pm »
There's also StereotypeEx that you can use. Check the documentation.

Geert

Adam105

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Updating sterotype of Connector
« Reply #3 on: April 21, 2015, 09:31:55 pm »
Thanks a lot, StereotypeEx works perfectly.