Select to view content in your preferred language

Configureing City Engine web scene attribute display

855
1
05-12-2017 01:12 PM
CurtPope
Occasional Contributor

Is there any way to configure the attribute display when you click on an object in a City Engine Web Scene? We have attributes we would like to not show when we share the scene. And i can't find any menus to confiure the display.

0 Kudos
1 Reply
ThomasFuchs
Esri Regular Contributor

Yes, there is an export option to define if Object Metadata is shared.

The settings are

  • None
  • Attributes
  • Reports
  • All

So in case you only want to share a subset of the attributes, there are 2 options:

  1. Prior to export, delete the unwanted attributes with a Python script:
    deleteAttribute(self, objects, name)
        Deletes the named object attribute.
         
        @param objects: The objects to delete the attribute from. 
        @param name: The attribute name.  [str]
         
        @note: # delete the attribute height from the currently selected objects
        ce.deleteAttribute(ce.selection(), 'height')
    Us share "All" as export setting
  2. Link the desired object attributes to rule attributes and report them. Then only share "Reports".
0 Kudos