I have imported a shapefile into CityEngin and need to extrude the buildings according to an existing height attribute in the shapefile. For example: If there are 3 buildings with height values of 30; 70; 20. Then the buildings have to be extruded according to each one's value.
Do I need to create an attribute which represents the height attribute for each specific shape? The height attribute is Building_height.
attr z = Building_height
Lot --> Shape extrude(z)
Do I need to define the shapefile in the rule code?
Any help will be greatly appreciated
I've followed these steps and applied them to my buildings but they don't seem to be extruding?
I have attatched a number of screenshots to show what I have done. If anyone could help that would be great. CityEngine
tried to use this method to make geometry form GIS data but failed. Looks like the problem is that imported data has HEIGHT attribute with STR type.
And connection editor does not recognize it. If I create similar attribute with FLOAT type everything works nice.
Can somebody make a suggestion on how to get over this problem please.
Tried to reimport data. Not working.
Here's the screen of what I'm talking about: Attribute Connection Editor
Visual difference between FLOAT and STR atrributes is that STR does not have slider.
Would really appreciate some help. Creating all new attributes for every shape is not a solution(