First time here? Check out the Help page!
1 | initial version |
With the help of Julien, I was able to write the following code and my problem was solved
OpenStudio.WorkflowJSON workflowJSON = new OpenStudio.WorkflowJSON(); workflowJSON.setSeedFile(new OpenStudio.Path(OpenStudio.OpenStudioUtilitiesCore.toPath(OsmPath))); workflowJSON.setWeatherFile(new OpenStudio.Path(OpenStudio.OpenStudioUtilitiesCore.toPath("D:\Pluginet\Chiral\Chiral\WeatherFile\IRN_Shiraz.408480_ITMY.epw"))); workflowJSON.saveAs(new OpenStudio.Path(OpenStudio.OpenStudioUtilitiesCore.toPath(OswPath))); System.Diagnostics.Process.Start("cmd.exe", "/C openstudio.exe run -w " + OswPath);
2 | No.2 Revision |
With the help of Julien, I was able to write the following code and my problem was solved
OpenStudio.WorkflowJSON workflowJSON = new OpenStudio.WorkflowJSON();
workflowJSON.setSeedFile(new OpenStudio.Path(OpenStudio.OpenStudioUtilitiesCore.toPath(OsmPath)));
workflowJSON.setWeatherFile(new