I have imported a gdb created in arcgis which contain building height attributes, they appear as rehl2 down the list of object attributes when I select a footprint. But how do I code this to be the height of the building?
I tried -
attr height = relh2
@StartRule
Lot --> extrude(height)
- but this didn't work, any help would be greatly appreciated
(ive attached a print screen of city engine)
Make an attribute with the name matching exactly the name of the height attribute. And it should connect automatically to your GIS attribute. If not then you can manually connect it using the connection editor.
attr relh2 = 0 # some other default value...
@StartRule
Lot -->
extrude (relh2)