Mapping Attributes with Connection Editor

Object Parameters in CityEngine can be controlled from various sources. The Connection Editor helps to create these attribute connections.

Connection Editor

To edit the connection on a specific attribute, locate the attribute in the Inspector, and click on the connection icon to start the Connection Editor.


Starting the Connection Editor for minArcRadius by clicking on the Connect icon.


The Connection Editor displayed for attribute minArcRadius

Default value

Reset the attribute to it's default value. Depending on the attributes type this will reset to the default value of the algorithm (e.g. Street Shape creation) or to the default value from the rule file (Rule Parameter).

User-defined value

Use the user-defined value on your attribute. If a user value has been set earlier, the old value is used, otherwise the current value will be set as user value.

Setting a user value is normally done by entering a value directly in the Inspector.

Object attribute

Connect your attribute to an object attribute. This option is only available if

  1. the scene object has an object attribute with a matching name
  2. the type of the object attribute matches the required type of the attribute (e.g. streetWidth requires a float or int type, whereas a string type won't work)

Shape parameter

Connect your attribute to the parent shape parameter. This option is only available if

  1. it is a rule file attribute
  2. the rule file is attached to a shape of an intersection, street, or block (a lot)
  3. the attribute has the same name as a shape parameter
  4. the type of the shape parameter matches the required type of the attribute (e.g. streetWidth requires a float or int type, whereas a string type won't work)

Layer attribute

Connect your attribute to Layer Attributes from arbitrary layers. Choose the source layer from the upper dropdown menu, and the desired Layer Attribute from the lower dropdown menu.
Each layer will provide a list of its available layer attributes, consisting of

Layer connections are shared for all objects per layer, means you will change the behaviour for all connected attributes in this layer that share the same name.

If a layer attribute with the same name as your attribute already exists, be aware that your new mapping might override the existing one.

Copyright ©2008-2016 Esri R&D Center Zurich. All rights reserved.