How to use Dynamo to modify Room's upper offset and base offset

Maybe this? But instead of Spaces, use Rooms…