From report to atribute

12-13-2016 01:19 AM
New Contributor III


Is there a way to set an attribute permanently to a number that is generated as a report?. The number in the report is calculated in a main CGA file, and the attributed that needs to have to same number is in a CGA file further down the stream.  

0 Kudos
2 Replies
Esri Regular Contributor

No, it is not possible to use the values generated by reports when setting attribute values or anywhere else in the cga code.  Reported values can only be seen in the Inspector or used in the Dashboard.

Occasional Contributor III

Using python you could

  1. set a cga rule 
  2. generate the building
  3. export the report as csv
  4. read the csv back
  5. write the csv data as attribute
  6. set another cga rule
  7. generate the building using the new attribute
0 Kudos