Select to view content in your preferred language

From report to atribute

1332
2
12-13-2016 01:19 AM
KristianMortensen1
Regular Contributor

Hi

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
CherylLau
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.

LR
by
Frequent Contributor

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