This content has been marked as final. Show 4 replies
Time to give back to community :)
Here are the steps:
1- import the shapefile
2- create a rule file and define an attribute with the same name as the one found on the shapefile
3- associate the rule file to each shape imported onto the scene
Look at the screens attached :).
After importing the shapefile and creating the rule which uses a attribute with the SAME name as the one found on the object attributes, you just have to make sure that the rule file is associated to the shapes, and that the attribute from the CGA is sourced to read its value from each shape's attributes.
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
thanks for joining me on the support front ! ;)
amazing, you're even using the @StartRule decoration !!!
Thank you Andre! It worked.
brilliant, helped a lot, thank you soo much for this reply!