building elevation

324
1
07-02-2014 09:03 PM
BatbayarJargalsaikhan1
New Contributor
hi,

Can anyone tell me is there any possibility to set elevation for buildings? (without terrain)
i'm using shapefile which has a attribute for ground height and top height of building.

thanks,
Batbayar.J
Tags (2)
0 Kudos
1 Reply
MatthiasBuehler1
Frequent Contributor II
sure ...


attr baseHeight = 0 # point to object attr
attr topHeight = 0# point to object attr


Shape -->
    alignScopeToAxes(y)
    t(0,baseHeight, 0)
    extrude(world.y, topHeight - baseHeight)
    Done.



ok ?
0 Kudos