attr
Syntax
attr id = expression
Parameters
- id (identifier)
Unique identifier for the attribute. - expression (float, string, bool, float[], string[], bool[])
Attribute value.
Description
A new attribute can be introduced by the attr keyword. As for constants, attributes are evaluated only once at the beginning of the generation process before any rule is applied.
The values of attributes can be externally changed through the inspector or by a map. See also CGA attributes. Attributes can be annotated to control their presentation in the inspector. See Annotations.
Related
Example
Defining an attribute with attr
attr height = 250 Lot --> extrude(height) |
Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.