Book a Demo

Author Topic: Select element from an Add-In  (Read 3669 times)

MeryemAdb

  • EA User
  • **
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Select element from an Add-In
« on: July 09, 2014, 01:15:49 am »
I'd like to do something that seems quite simple in theory, except I do not know how to do it: how can I select an element in the project brw
owser?

In short, I want to validate a model, and I'd like to know if it is possible to lead the user to the class where the problem occurs.

I am using EA version 10.1008 Corporate.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Select element from an Add-In
« Reply #1 on: July 09, 2014, 04:18:30 am »
Hi,

repository.ShowInProjectView (object Item)
will do the job.

The complete documentation you find in the F1 help under:
Automation and Scripting, Enterprise Architect Object Model, Reference, Repository.

Helmut
 
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)