Ejemplo n.º 1
0
        static void Main()
        {
            if (BIMserverAPIWrapper.isApiInstalled() == false)
            {
                MessageBox.Show("API not found");
            }
            else
            {
                //BIMserverAPIWrapper.setDebugMode(true);
                BIMserverAPIWrapper.setLanguage(BIMserverAPILanguage.ENGLISH);
                BIMserverAPIWrapper.setDatabasePath("c:\\BIMserver.center api demo");
                BIMserverAPIWrapper.setLoginPath("c:\\BIMserver.center api demo");

                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new TestApi());
            }
        }
Ejemplo n.º 2
0
        static void Main()
        {
            if (BIMserverAPIWrapper.isApiInstalled() == false)
            {
                MessageBox.Show("API not found");
            }
            else
            {
                //BIMserverAPIWrapper.setDebugMode(true);
                BIMserverAPIWrapper.setLanguage(BIMserverAPILanguage.ENGLISH);
                BIMserverAPIWrapper.setDatabasePath("c:\\BIMserver.center api demo");
                BIMserverAPIWrapper.setLoginPath("c:\\BIMserver.center api demo");

                // This values must be set. You'll get them after registration.
                //BIMserverAPIWrapper.setAppID("app_undefined_id");
                //BIMserverAPIWrapper.setDeveloperID("app_developer_id");

                Application.EnableVisualStyles();
                Application.SetCompatibleTextRenderingDefault(false);
                Application.Run(new TestApi());
            }
        }