Hi guys,
The grids in the following picture is the .shp file which is exported from ArcGIS. Then I read the MEAN_Z attribute from the Object Attribute and attributed it to the following grids.

After that I obtained the building in the following picture. Now my work is to modify this building. First I want to change the heights of different parts of the building. My problem is how to apply different rates of change to different parts of the building.

I tried to write the code like this: attr MEAN_Z
attr height= MEAN_Z*0.5;
but the result is the height of the whole building became 0.5 times than before which is not what I need.
How can I divide this building into different parts based on so many grids and how can I apply different rates of change to different parts?
I think you guys are more professional than me and thank you for your help 