Book a Demo

Author Topic: Update MDG types  (Read 8108 times)

Adam@Schneider

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Update MDG types
« on: October 22, 2014, 01:35:56 pm »
Is there a way we can automatically go through all elements and re-apply updated stereotypes after an MDG update? I'm not averse to writing a script.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Update MDG types
« Reply #1 on: October 23, 2014, 04:42:28 am »
Which version of EA do you utilize?

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Update MDG types
« Reply #2 on: October 23, 2014, 09:08:30 am »
Via the UI:
Find your stereotype on the toolbox.
Right click on it.
Select Synchronize Stereotype
Click OK

Via the API:
Repository.SynchProfile(ProfileName, StereotypeName)

Scripting Console
!js
SynchProfile("Profile", "Stereotype")

Adam@Schneider

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: Update MDG types
« Reply #3 on: October 23, 2014, 11:36:07 am »
Thanks guys, I must have missed that one.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Update MDG types
« Reply #4 on: October 24, 2014, 12:13:12 am »
Note that the above will only ADD new TVs and not remove deleted ones.

q.