Author Topic: Search event for complete load AutoCAD-Ap​plication.  (Read 1487 times)

0 Members and 1 Guest are viewing this topic.

MarioR

  • Newt
  • Posts: 64
Search event for complete load AutoCAD-Ap​plication.
« on: November 29, 2012, 09:34:31 PM »
Hello,

I search an event, that fire after complete initialising AutoCAD.

Is this possible?

regards Mario

MarioR

  • Newt
  • Posts: 64
Re: Search event for complete load AutoCAD-Ap​plication.
« Reply #1 on: November 29, 2012, 09:55:06 PM »
Hi,

i have found a solution:

1.: in IExtensionApplication.Initialize i add a event to Application.Idle += setIconState2

2. in the eventhandler remove himself after work
        public void setIconState2(object sender, EventArgs e)
        {
                    Boolean runIsOk = doAny();
                    if (runIsOk) Application.Idle -= setIconState2;
        }

regards Mario