const

Synopsis

const id = expression

A new constant can be introduced by "const" and is evaluated the first time it is encountered in a rule or expression. As in "attr", constant expressions are evaluated only once per generation and rule file. The values of constants cannot be externally changed trough the inspector or by a map. Constant expressions do not appear in the inspector.

Example

Defining a constant with const

const height = 250 // define a constant "height"


Lot-->extrude(height) A.
      

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