Thanx a lot! Now it works perfectly)
You have to define it properly in the rule too, i. e. height ="", not height = 0, because then the rule assumes it's a float and won't connect to your str object attribute.
No idea then. Try making a new project, or maybe you can upload some sample data?
Thanx for reply.But it doesn't want to take it either. I've reloaded the rule, but nothing changed.Would have been cool to convert attribute permanently. As a separate action. But I'm not good enough in CE to figure it ou
proof: Attribute Connection Editor
Convert it to float:
attr HEIGHT = "" Lot --> extrude(float(HEIGHT))
If you want to use a slider to adjust the height afterwards you can do this:
@Hidden #optional attr HEIGHT = "" attr myHEIGHT = float(HEIGHT) Lot --> extrude(myHEIGHT)
Hi,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(
No its definitely selected and still not working!
Seems fine, are you sure you didn't turn off the models? It's the black house icon on the viewport (not shown in the screenshot ).
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
Hi,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_heightLot --> Shape extrude(z)Do I need to define the shapefile in the rule code?Any help will be greatly appreciated
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.