spnSetProperty function

Set a property value in a block