AnsweredAssumed Answered

How to get rule-set value (attribute value set by CityEngine rule CGA) in python script?

Question asked by jiandanhz on Aug 3, 2017
Latest reply on Aug 7, 2017 by TFuchs-esristaff

Hi,

I want to write some scripts for calculation in python, which need first read the values of the attributes (such as height, area etc.) of the shapes set in CityEngine. I can get the value of the 'Object Attributes' (user set value of attribute) by 'ce.getAttribute(height)' for example, but if the value of attribute is set by CGA rule, it doesn't work. I tried to create 'Reports' by CGA and then in python to read the value in 'Reports', but cannot figure out what to do in python scripts.

Any help would be great, thanks.

Outcomes