attr keyword
attr id = expression
id identifier Unique identifier for the attribute.
expression floatstringboolfloat[]string[]bool[] Attribute value.
A new attribute can be introduced by the attr keyword. As for const, 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)