Exemple #1
0
        private void DrawingNumberingPluginForm_Shown(object sender, EventArgs e)
        {
            var model = new Tekla.Structures.Model.Model();

            if (model.GetConnectionStatus())
            {
                var events = new Tekla.Structures.Model.Events();
                events.TeklaStructuresExit += Events_TeklaStructuresExit;
                events.Register();
            }
        }
        private static bool IsTeklaRunning()
        {
            var model = new Tekla.Structures.Model.Model();

            return(model.GetConnectionStatus());
        }