예제 #1
0
        public static Dictionary <string, ComAuto> OpenModel(string filePath)
        {
            ComAuto GsaObj = new ComAuto();

            GsaObj.SetLocale(Locale.LOC_EN_GB);
            GsaObj.Open(filePath);

            return(new Dictionary <string, ComAuto>
            {
                { "GSA File", GsaObj as ComAuto }
            });
        }
예제 #2
0
        public static Dictionary <string, ComAutoClass> OpenGsaModel(string filePath)
        {
            ComAuto GsaObj = new ComAuto();

            GsaObj.SetLocale(Locale.LOC_EN_GB);
            GsaObj.Open(filePath);
//            ComAutoClass gsaFile = GsaObj as ComAutoClass;

            return(new Dictionary <string, ComAutoClass>
            {
//                    {"GSA File", gsaFile},
                { "GSA Object", GsaObj as ComAutoClass }
            });
        }