Book a Demo

Author Topic: Setting context in ProjectBrowser?  (Read 4313 times)

kjourdan

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
    • View Profile
Setting context in ProjectBrowser?
« on: October 12, 2016, 11:31:57 pm »
Is there a way to set the project browser context through scripting?  Using scripting, I can detect what is selected in the project browser. Given a packageID, elementID, diagramID, etc, is there a way to set the ProjectBrowser to select this?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Setting context in ProjectBrowser?
« Reply #1 on: October 12, 2016, 11:42:14 pm »
Yes Repository.ShowInProjectView(object item)

Geert


kjourdan

  • EA User
  • **
  • Posts: 71
  • Karma: +0/-0
    • View Profile
Re: Setting context in ProjectBrowser?
« Reply #2 on: October 12, 2016, 11:46:27 pm »
Awesome.  Thanks Geert!