Example #1
0
            private void Run()
            {
                object application = GetAcadApplication(process);

                using (MessageFilter.Register(Stopwatch.StartNew()))
                {
                    try
                    {
                        SendCommand(application, command);

                        result.Complete(null);
                    }
                    catch (Exception e)
                    {
                        result.Complete(e);
                    }
                }
            }