src/utilities/bcl/templates/ModelMeasure/measure.rb
# define the arguments that the user will input
define the arguments that the user will input
define the arguments that the user will input
def arguments(model)
    args = OpenStudio::Measure::OSArgumentVector.new
    space_name = OpenStudio::Measure::OSArgument.makeStringArgument('space_name', true)
    space_name.setDisplayName('New space name')
    space_name.setDescription('This name will be used as the name of the new space.')
    args << space_name
    return args
  end
def arguments ( model ) args = OpenStudio :: Measure :: OSArgumentVector . new space_name = OpenStudio :: Measure :: OSArgument . makeStringArgument ( 'space_name' , true ) space_name . setDisplayName ( 'New space name' ) space_name . setDescription ( 'This name will be used as the name of the new space.' ) args << space_name return args end
define the arguments that the user will input
define the arguments that the user will input
# the name of the space to add to the model
model