Select to view content in your preferred language

Generate Tree Model type by height/radius?

789
1
04-20-2021 10:11 PM
Lonno
by
New Contributor

Hello! 

I've just started using City Engine and loving it so far. I'm currently trying to find a way to generate my tree model types depending on their height and radius. Both of these bits of information are in my point cloud shapefile data. I tried searching the forum but couldn't find anything, but it's possible I'm just not searching the right keywords. 

I'm currently using the Plant_Loader.cga. Is there another .cga file that will allow me to do this or could anyone help with a line of code I can add? 

Thanks!!

0 Kudos
1 Reply
JonasObertuefer
Esri Contributor

Hi @Lonno,

Assuming you have the height and radius showing up as object attributes in CityEngine you can just map them to the rule attributes height and radius from the Plant_Loader.cga file using "Connect Attribute..." from the dropdown menu in the inspector. See this section in the help or this thread for more information on this topic.

Cheers
Jonas

0 Kudos