version
Syntax
version versionString
Parameters
- versionString (string)
CGA version for which this rule file is written. The CGA version always corresponds to the CityEngine version, e.g. CityEngine 2024.0 has CGA version "2024.0".
Description
The version keyword is used to define the CGA version for which the rules are written. This permits detection of potential incompatibilities; warnings about potential incompatibilities are written to the log.
Such incompabilities come in two sorts: new features and changes to exisiting features. While the former are relatively unproblematic, the latter are generally not desired and only occur when an obvious bug or other shortcoming needs to be corrected. See CGA Changelog for an overview of the changes between CGA versions.
The version statement has to be the first code line of a cga file. If there is no version statement, the version defaults to "2009.1".
Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.