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

Revision history [back]

click to hide/show revision 1
initial version

Where is MeasureStep in Python version of OpenStudio SDK?

I was hoping to implement MeasureStep in a Python script. Much like "model = openstudio.model.Model()" or "space = openstudio.model.Space(model)", or "vector = openstudio.Vector3d(1.0,2.0,3.0)," I expected MeasureStep to be accessible as "measure_step = openstudio.MeasureStep(measure_directory)" after an "import openstudio" in my "test.py" file. Alas, I am being told by the Python interpreter there is none such. And "measure_step = openstudio.utilities.MeasureStep()" or "measure_step = openstudio.workflowJSON.MeasureStep()" or similar variations do not lead to success either. Has MeasureStep not been implemented yet in the openstudio SDK Python module? Or if it was, where can it be found? On a side note, is there an openstudio-standards for Python yet? Thanks.

Where is MeasureStep in Python version of OpenStudio SDK?

I was hoping to implement MeasureStep in a Python script. Much like "model = openstudio.model.Model()" or "space = openstudio.model.Space(model)", or "vector = openstudio.Vector3d(1.0,2.0,3.0)," I expected MeasureStep to be accessible as "measure_step = openstudio.MeasureStep(measure_directory)" after an "import openstudio" in my "test.py" file. Alas, I am being told by the Python interpreter there is none such. And "measure_step = openstudio.utilities.MeasureStep()" or "measure_step = openstudio.workflowJSON.MeasureStep()" or similar variations do not lead to success either. Has MeasureStep not been implemented yet in the openstudio SDK Python module? Or if it was, where can it be found? On a side note, is there an openstudio-standards for Python yet? Thanks.