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

My Measures path reference for measure.rb

asked 2017-10-18 17:19:40 -0500

Determinant's avatar

updated 2017-10-19 10:04:40 -0500

How can I get the path for the My Measures directory when writing my own measure?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-10-19 13:46:12 -0500

updated 2017-10-19 13:47:07 -0500

I believe the method you are looking for is documented here. It is static openstudio::path openstudio::BCLMeasure::userMeasuresDir().

edit flag offensive delete link more

answered 2017-10-19 11:59:58 -0500

In the OpenStudio App, navigating to the measures tab and selecting the my directory symbol will open your measures directory.

image description

edit flag offensive delete link more



The OP was asking about retrieving the path programmatically using SDK methods rather than within a GUI.

ljbrackney's avatar ljbrackney  ( 2017-10-19 13:41:17 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Question Tools

1 follower


Asked: 2017-10-18 17:19:40 -0500

Seen: 184 times

Last updated: Oct 19 '17