Dive-in:This page provides an overview of the operations and functions available in CGA. Visit the CGA Modeling Essentials to learn the foundations of the CGA Shape Grammar.
Shape Attributes are properties of the current shape. They can always be read (like functions) and some of them can be set with the set operation.
Functions always return a value and do not alter the current shape (with the exception of probability functions which change the state of the shape's random number generator).
Asset and image functions
Edge attribute functions
CGA utility functions library
String utility functions
String list utility functions
String lists are a series of strings stored inside one string. The elements are separated by a semicolon (";"). The data type is "string", thus it is not any real type of array as used in other scripting languages.
File, asset and image utility functions
Math utility functions
Color utility functions
|Context and occlusion queries
To view the offline CGA reference, click Help > Offline CGA Reference in the CityEngine main menu.