Book a Demo

Author Topic: API: determine multiple packages selected  (Read 2879 times)

Rouven

  • EA User
  • **
  • Posts: 48
  • Karma: +0/-0
    • View Profile
API: determine multiple packages selected
« on: March 21, 2012, 08:54:16 pm »
Hello everyone,

I'm using Enterprise Architect 9.2x. Currently I'm trying to implement a script that is capable of determining which packages in the project browser are selected - Multiple selection is possible for root-level models as well as packages on the same level (under the same parent).
However, I cannot find an API method that returns the selection.
  • GetTreeSelectedPackage returns the last selected package only
  • GetTreeSelectedElements returns nothing when selecting packages

Any ideas on how I can detect the current selection?
Thanks!
Regards, Rouven

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: API: determine multiple packages selected
« Reply #1 on: March 21, 2012, 10:55:26 pm »
I'm afraid that that isn't possible at the moment.
I don't see any workarounds.

You can always send in a change request.

Geert