How to use the openstudio.measure.PythonMeasure function in openstudio

To help you get started, we’ve selected a few openstudio examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github NREL / OpenStudio-workflow-gem / spec / files / python_measure / measures / PythonMeasure / measure.py View on Github external
import openstudio
import typing

class PythonMeasureName(openstudio.measure.PythonMeasure):

    def name(self):
        """
        Return the human readable name.
        Measure name should be the title case of the class name.
        """
        return "PythonMeasureName"

    def description(self):
        """
        human readable description
        """
        return "DESCRIPTION_TEXT"

    def modeler_description(self):
        """