I need a getting started example that uses C++ api's.
I need the headers, lib, the dll's and a getting started example.
First time here? Check out the Help page!
I need the headers, lib, the dll's and a getting started example.
The documentation you're looking for is here. The C++ code examples (primarily the OS App) are fairly heavy duty and located in GitHub. The simplest/most accessible examples are Ruby based and will leverage the 2.0 CLI. Since there's parity between the Ruby bindings and C++ objects and methods, you can probably learn a lot from looking at measures, unit tests, etc. in the SDK or measure repositories. Perhaps one of the developers could chime in with a link to a very specific example if we knew the kind of thing you are looking for.
As Larry said, the fastest and easiest way to learn the OpenStudio API is via the Ruby bindings and measures. However, if you have an application where you really want to use C++ it's probably best to contact us at openstudio@nrel.gov (I didn't see an email in your contact info), we can set up a time to talk about your application.
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2016-10-27 06:55:24 -0600
Seen: 248 times
Last updated: Oct 28 '16
For what? OpenStudio?
Yes for open studio or energy plus
EnergyPlus does not have an API, although it may have a simple one at some point. The OpenStudio API is essentially the EnergyPlus API.