Author Topic: EA add-ins  (Read 2639 times)

Tehila1

  • EA User
  • **
  • Posts: 256
  • Karma: +0/-0
    • View Profile
EA add-ins
« on: December 09, 2013, 08:17:15 pm »
Hello!
I am working on a add- in which requires selection of EA Diagram.

If the user invokes the add in without choosing a diagram- a message box will inform him that he must select a diagram first. Then I want to exit from the add in.

Trying
Code: [Select]
System.Environment.Exit(0); makes all EA to be closed..

Thanks

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: EA add-ins
« Reply #1 on: December 10, 2013, 05:44:48 am »
Hello,

I don't really understand the problem.

An Addin waits for requests. Then it performs the request and waits for the next request.

There is no need to exit from the addin.

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