The CGA Editor

CGA Editor

By double clicking on a ".cga" file in the Navigator window, the corresponding file is opened in the CGA shape grammar editor. Another possibility to open a ".cga" file for editing is to click on Rule File in the Inspector window if the selected object already has a rule file assigned already. The typical workflow with the CGA shape grammar editor is:


The CGA rule editor has syntax highlighting and shows syntax errors (the latter are described in more detail in the Problems window where you can double click on each entry). Furthermore, during typing, command completion can be invoked via CTRL+SPACE.

NOTE: you can always recall a list of currently active CityEngine shortcuts by pressing CTRL+SHIFT+L.

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