Exemplo n.º 1
0
        public void CatiaControl()
        {
            CatiaConnection cc = new CatiaConnection();

            try
            {
                // Finde Catia Prozess
                if (cc.CATIALaeuft())
                {
                    // Öffne ein neues Part
                    cc.ErzeugePart();

                    // Generiere ein Profil
                    cc.ErzeugeProfilAußen(dat);
                }
                else
                {
                    MessageBox.Show("Laufende Catia Application nicht gefunden");
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Exception aufgetreten");
            }
        }