Book a Demo

Author Topic: Get collection of selected packages  (Read 5520 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Get collection of selected packages
« on: November 15, 2018, 09:38:31 pm »
Hi,

I can see Repository.GetTreeSelectedPackage to get the current selected package in the project browser. I want to get a collection of the selected packages however, ie 1 or more selected packages. Anyone know if I can do this via the API ?

Regards,

Jon.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Get collection of selected packages
« Reply #1 on: November 16, 2018, 09:28:45 am »
No. Unfortunately there is currently no way to get a multi-selection of Packages from the Project Browser via the API at this time.

Mauricio Moya (Arquesoft)

  • EA User
  • **
  • Posts: 344
  • Karma: +8/-4
  • EA Consulting and development in Spanish
    • View Profile
    • Arquehub Azure Module
Re: Get collection of selected packages
« Reply #2 on: November 24, 2018, 07:58:41 am »
Another option is to create not a Project Browser script but a Diagram Script, so you can drag into a diagram the packages you need, then select them in the diagram and in a Diagram script you could get the list of elements selected in diagrams (or packages).