Expressions to reference element attributes, e.g. materials and finishes (ARCHICAD surfaces). These will typically be prefixed with element, e.g. element.material, but any specific element type can be used, e.g. wall.material, if attributes are only required for that type.
Elements often have multiple materials or finishes, so these expressions provide a list instead of a single value. The list can be searched with contains (for a partial match) or includes (for an exact match). The materials can also be compared to another list of names using has (partial match) or in (exact match). A single item can be referenced by name in parentheses, e.g. material(“Brick”).
Refer to section 4.4.6, How to use a list of values for more detail.
material |
The list of materials assigned to the element. This is generally a single item, but multi-skin construction elements like walls include every material defined in composites. For a fill, the list will be empty. Referencing a specific material , e.g. material(“Brick”), provides access to additional information about the material application: area: The area of the specified material, e.g. material(“Brick”).area volume: The total volume of the specified material, e.g. material(“Brick”).volume thickness: The total thickness of skins using the specified material, e.g. material(“Brick”).thickness skins: The total number of skins using the specified material, e.g. material(“Brick”).skins See section 4.4.8 for a detailed discussion of materials in expressions. |
|
finishes |
The list of finishes assigned to the element (ARCHICAD surfaces). The list is extracted from the 3D body of the element, so any finish seen in the model will appear in this list. For a fill, the list will be empty. Referencing a specific finish , e.g. material(“Paint”), provides access to the total area with that finish applied. See section 4.4.9 for a detailed discussion of finishes in expressions. |
|
fill |
The name of the fill applied to the element. Can be a composite or simple fill name. |
Comments
0 comments
Please sign in to leave a comment.