check if selection.Size > 0 in setAttr