EBDN - Community - Question & Answers

  Thursday, 15 March 2018
  1 Replies
  1.3K Visits
0
Votes
Undo
Hello,

is it possible to check from where the macro has been started? I want to identify if it was started from the EB Tree or directly from a multiple select on shapes at a drawing.
So there should be two ways to start it:

- Start from the EB Tree at a drawing or the document folder
- Select multiple shapes at a drawing and start it from there

Is it possible to identify from where it was started? I could check for the ObjectKind but that's not the best solution I think, because the user can start it then also from the EB Tree.

Thanks in advance,

Philipp