public static void Run(Tekla.Technology.Akit.IScript akit)
        {
            DrawingHandler drawingHandler = new DrawingHandler();

            if (drawingHandler.GetConnectionStatus())
            {
                RectOpening program = new RectOpening(drawingHandler);
                program.main();
            }
            else
            {
                MessageBox.Show("Ei leia joonist");
            }
        }
 public static void Run(Tekla.Technology.Akit.IScript akit)
 {
     DrawingHandler drawingHandler = new DrawingHandler();
     if (drawingHandler.GetConnectionStatus())
     {
         RectOpening program = new RectOpening(drawingHandler);
         program.main();
     }
     else
     {
         MessageBox.Show("Ei leia joonist");
     }
 }