Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

pachiburke's profile - activity

2024-02-01 06:35:33 -0500 edited answer Missing surfaces

Yes, this is probably a bug that has been fixed [1] on the master branch of the plugin and a new version (v1.7.0) with a

2024-02-01 06:35:33 -0500 received badge  Editor (source)
2024-02-01 04:29:37 -0500 answered a question Missing surfaces

Yes, this is probably a bug that has been fixed [1] on the master branch of the plugin, but a new version including the

2024-02-01 04:29:37 -0500 received badge  Rapid Responder (source)
2016-08-30 02:20:59 -0500 commented answer Getting model path from runner object in OpenStudio

I've added issue #2346 to keep track of this feature request.

2016-08-29 08:17:02 -0500 received badge  Teacher (source)
2016-08-29 08:16:02 -0500 answered a question Getting model path from runner object in OpenStudio

The openstudio::model::ruleset::OSRunner class has a private m_lastOpenStudioModelPath member, but it is not exposed in the public API as are the other relevant paths.

The model path can be useful to keep track from where the models originate so it can be displayed in reports and any other user script artifacts.

A new API addition would have a signature like this in OSRunner.hpp:

  /** Returns a path to the last OpenStudioModel if available. */
boost::optional<openstudio::path> lastOpenStudioModelPath() const;

and an implementation like this (in OSRunner.cpp):

boost::optional<openstudio::path> OSRunner::lastOpenStudioModelPath() const
{
  return m_lastOpenStudioModelPath;
}