Revision history [back]
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);
With the help of Julien, I was able to write the following code and my problem was solved