Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)
print("Hello x5")
# add a new space to the model
new_space = openstudio.model.Space(model)
print("Hello x6")
new_space.setName(space_name)
print("Hello x7")
# echo the new space's name back to the user
runner.registerInfo(f"Space {new_space.nameString()} was added.")
print("Hello x8")
# report final condition of model
#runner.registerFinalCondition(f"The building finished with {len(model.getSpaces())} spaces.")
runner.registerFinalCondition("the measure ended")
print("end of measure")
#print(f"runner.workflow(): {runner.workflow()}")
print(openstudio.openStudioLongVersion())
return True