Author Topic: Relationship with default tags  (Read 3157 times)

marku

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Relationship with default tags
« on: November 04, 2020, 07:18:53 am »
Is it possible to create a relationship in EA 15.2, but have a few tags at once?
I'm currently creating a relationship and adding tags manually - which is tedious with more.
For other objects, I have a pattern / template - where I immediately have tags, which I only fill in (I do not have to add manually)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Relationship with default tags
« Reply #1 on: November 04, 2020, 08:53:58 am »
Think about creating a profile (/MDG). That's basically meant for what you're trying to achieve.

q.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1309
  • Karma: +120/-10
  • Its the results that count
    • View Profile
Re: Relationship with default tags
« Reply #2 on: November 04, 2020, 10:08:27 am »
First recommendation is that I concur with querty's advice and create MDG. However for some folk that is just too much effort. The other option if you know one of the scripting languages like JavaScript, JScript or VB Script is to write a script that can do it in bulk. I've known a few people who have initially taken that latter option and then later when they have more time to think about it end up resorting to the former option.

Happy to help
:)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Relationship with default tags
« Reply #3 on: November 04, 2020, 05:22:03 pm »
The third option is to write an Add-In, which can react to the creation of the connector and add the tags automatically -- something a script can't do.

Another consideration is that with a profile / MDG technology you have to create a stereotype, which is how EA knows to create your tags automatically. With scripts and Add-Ins that isn't necessary. Recommended, but not required.

/Uffe
My theories are always correct, just apply them to the right reality.

marku

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: Relationship with default tags
« Reply #4 on: November 04, 2020, 10:32:01 pm »
THX
I admit that I assumed that maybe the manufacturer himself will add such a possibility. Exactly like eg building "object templates" in a Project Template Package, eg via QuickLinker.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Relationship with default tags
« Reply #5 on: November 04, 2020, 11:03:28 pm »
If you want to suggest a feature you need to make a formal request, which you can find in the site's top menu under Support -> Contact Us.

I think you can add connector tags in a template, but only if the source and target elements are also in the template. So in other words, you can't use templates to create new connectors without also creating new elements.

It may be it's possible to do it using the merge option, but I haven't tested it and I think probably not.

/U
My theories are always correct, just apply them to the right reality.