1

My Measures path reference for measure.rb

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

Determinant's avatar
1.1k
Determinant
asked 2017-10-18 17:19:40 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-10-19 10:04:40 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

3

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

ljbrackney's avatar
3.8k
ljbrackney
answered 2017-10-19 13:46:12 -0500, updated 2017-10-19 13:47:07 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
1

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

image description

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2017-10-19 11:59:58 -0500
edit flag offensive 0 remove flag delete link

Comments

1

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
add a comment see more comments