# 3.1.14: Select Elements

Use the **“Select Elements”** component to filter elements based on specific properties. The selected elements can then be used to retrieve results, calculate their mass, surface area, volume, or generate meshes (see the **“Element Query”** component).&#x20;

Fig. 3.1.14.1 shows how this works: the input plugs **“ElemIds”**, **“Colors”**, **“CrosSecs”**, **“Materials”**, **“LenInter”**, and **“ElemTypes”** can be supplied with lists of element identifiers, colors, cross sections, materials, length intervals, and type indexes. The values in each input plug form criteria via **“OR”**. For example, in Fig. 3.1.14.1, the selected elements may be either purple or red. The individual input plugs are connected via **“AND”**: in the image below, the selected element must be named **“Membrane\_D”**, be red or purple, and be either a membrane or shell, and so on.

For shells and membranes, the length refers to the diagonal of their axis-aligned bounding box. For 1-D elements, it is simply their length. The element types are indexed starting with zero. Right-click on the component icon and select **“Expand ValueLists”** to make the value-list input appear.

&#x20;

![Fig. 3.1.14.1: Selection of elements via identifiers, colors, cross sections, materials, size and type.](https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCkDlhlZpqUmakSqOrp%2F-MjnpDL0kVWAzxjNyg7x%2F-MjnvMuPa9Cmg61MWDsx%2Fimage.png?alt=media\&token=cab5ea3f-efc2-48e7-b60a-00f1f478b301)

{% file src="<https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6rkhS8IteqWJRfUuJlL5%2Fuploads%2FjE2zkotgqxaw4wHqfDW6%2FElementSelection.gh?alt=media&token=be684e8a-b7c1-4108-99bb-9fb293ead25a>" %}

{% file src="<https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6rkhS8IteqWJRfUuJlL5%2Fuploads%2FH2BBmqFOIqmc6L5vvjyc%2FElementSelection_I.gh?alt=media&token=146cc420-be96-4e92-a727-92ef3aab1c54>" %}

{% file src="<https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6rkhS8IteqWJRfUuJlL5%2Fuploads%2FK264MDEn0DuuqTMVA6UM%2FElementSelection_II.gh?alt=media&token=a0b8d1b6-0d7c-4d50-b19d-517e84470deb>" %}

{% file src="<https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6rkhS8IteqWJRfUuJlL5%2Fuploads%2FfECpczMhqbD7udR51lWF%2FSelect_Element.gh?alt=media&token=6eb8b49e-edb7-4c18-9361-ecf321c6f71e>" %}

{% file src="<https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6rkhS8IteqWJRfUuJlL5%2Fuploads%2FVYiUA5WnbLxFmMm23shx%2FSelectionViaElementSet.gh?alt=media&token=3e59e8b2-edb8-4cd7-a908-ce7df257de13>" %}
