Method: OpenStudio::Analysis::Workflow#add_measure
- Defined in:
- lib/openstudio/analysis/workflow.rb
#add_measure(instance_name, instance_display_name, local_path_to_measure, measure_metadata) ⇒ Object
Add a measure from the custom hash format without reading the measure.rb or measure.xml file
63 64 65 66 67 |
# File 'lib/openstudio/analysis/workflow.rb', line 63 def add_measure(instance_name, instance_display_name, local_path_to_measure, ) @items << OpenStudio::Analysis::WorkflowStep.from_measure_hash(instance_name, instance_display_name, local_path_to_measure, ) @items.last end |