AnsweredAssumed Answered

CityEngine Attribute Reporting

Question asked by gardta on Oct 24, 2017
Latest reply on Nov 15, 2017 by gardta

I am trying to export object attributes along with models in a scene package layer. After using the following rules (here, attributes are simplified), I am still receiving a 'name' attribute associated with shape number (see attached snip) when the models are ingested and interacted with in a web scene (uploaded manually to our Portal for ArcGIS).  Any recommendations on how to get these attributes to export properly in the scene layer package? I am using CityEngine Basic 2017. 


Thanks in advance!


* File:    reportAttr.cga
* Created: 18 Oct 2017 21:50:40 GMT
* Author:  GARDTESS

version "2017.0"

attr BL_ID = ""
attr TYPE = ""

Report -->
     report("BL_ID", BL_ID)
     report("TYPE", TYPE)


This is the code I appended to the end of the rule I am using to generate the models:


import Report : "rules/reportAttr.cga"

attr BL_ID = ""
attr TYPE = ""

Generate -->