public void changeUserParameter(double parameterWert, double parameterWert2, double parameterWert3, double parameterWert4, double parameterWert5)
        {
            KnowledgewareTypeLib.Parameters paras = hsp_catiaPart.Part.Parameters;



            // Parameter ändern : Variante 2 - direkter Zugriff auf die komplexe Datenstruktur
            KnowledgewareTypeLib.Dimension paraDim2 = paras.GetItem("Breite_b") as KnowledgewareTypeLib.Dimension;
            paraDim2.Value = parameterWert;

            KnowledgewareTypeLib.Dimension paraDim3 = paras.GetItem("Breite_B") as KnowledgewareTypeLib.Dimension;
            paraDim3.Value = parameterWert2;

            KnowledgewareTypeLib.Dimension paraDim4 = paras.GetItem("Hoehe_h") as KnowledgewareTypeLib.Dimension;
            paraDim4.Value = parameterWert3;

            KnowledgewareTypeLib.Dimension paraDim5 = paras.GetItem("Hoehe_H") as KnowledgewareTypeLib.Dimension;
            paraDim5.Value = parameterWert4;

            KnowledgewareTypeLib.Dimension paraDim6 = paras.GetItem("Laenge_1") as KnowledgewareTypeLib.Dimension;
            paraDim6.Value = parameterWert5;


            hsp_catiaPart.Part.Update();
        }
        public void changeUserParameter(double parameterWert, double parameterWert2)
        {
            KnowledgewareTypeLib.Parameters paras = hsp_catiaPart.Part.Parameters;



            // Parameter ändern : Variante 2 - direkter Zugriff auf die komplexe Datenstruktur
            KnowledgewareTypeLib.Dimension paraDim2 = paras.GetItem("Radius") as KnowledgewareTypeLib.Dimension;
            paraDim2.Value = parameterWert;

            KnowledgewareTypeLib.Dimension paraDim3 = paras.GetItem("Laenge") as KnowledgewareTypeLib.Dimension;
            paraDim3.Value = parameterWert2;


            hsp_catiaPart.Part.Update();
        }