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

My Measures path reference for measure.rb

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

Determinant's avatar

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

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
3

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

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

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
1

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

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

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 -0600 )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

Careers

Question Tools

1 follower

Stats

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

Seen: 237 times

Last updated: Oct 19 '17