Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def arguments(self, model: typing.Optional[openstudio.model.Model]=None):
"""
define what happens when the measure is run
"""
args = openstudio.measure.OSArgumentVector()
example_arg = openstudio.measure.OSArgument.makeStringArgument('space_name', True)
example_arg.setDisplayName('New space name')
example_arg.setDescription('This name will be used as the name of the new space.')
example_arg.setDefaultValue('default_space_name')
args.append(example_arg)
return args