Book a Demo

Author Topic: Current selected diagram object in SQL search  (Read 2899 times)

Luigi2021

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Current selected diagram object in SQL search
« on: February 14, 2022, 07:46:20 pm »
Hi,

I would like to obtain the GUID or ID of current selected diagram object from within a (SQL) search. How can I do that?

Thanks in advance!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Current selected diagram object in SQL search
« Reply #1 on: February 14, 2022, 08:08:55 pm »
You can't.

You can get the currently selected package, or the currently selected element, but not the diagram.
You could do that with a script search if you really wanted to.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Current selected diagram object in SQL search
« Reply #2 on: February 14, 2022, 08:34:03 pm »
And the EA-path: Alt-g (which selects the element in the browser) and then use that in your search.

q.