# 3.3.8: Cross Section Selector

The component **“CroSecSelect”** deals with selecting cross sections by name or index from a list of cross sections. Provide the name(s) or index(es) of desired cross sections in the **“Name|Ind”**-plug. Cross section names are not case sensitive. All characters coming after “#” count as remark. It is possible to use regular expressions for selection (these start with “&”). List indexes start from zero.

**“CroSecSelect**” lets you specify beams via the **“Elems|Ids”**-plug which shall be assigned a specific cross section. The **“Assemble”**-component sets the cross-sections of these elements accordingly. Alternatively, cross sections can be directly plugged into the element-creation-components.

In case one does not supply a list of cross sections at the **“CroSec”**-input-plug, the cross section table that comes with Karamba3D is used by default.

![Fig. 3.3.8.1: Cantilever with four different cross sections taken from the standard cross section table](https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MCkDlhlZpqUmakSqOrp%2Fsync%2F169058a3f7416843d6d78f8c43816c17b29fcabe.png?generation=1595316038591782\&alt=media)

Sadly there is no standard for the exact naming of cross sections which results in slight deviations for one and the same cross sections in different finite element programs. A "IPE80" is sometimes seen to be written as "IPE 80", "IPE-80", and so on. In the context menu of the Cross Section Selector -component it is possible to activate a fuzzy name search option (see fig. 3.3.8.2). For a given input name the component then returns the cross section whose name has the shortest Levenshtein-distance to the input. <br>

<figure><img src="https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6rkhS8IteqWJRfUuJlL5%2Fuploads%2FSaPgTltNgHQSvww4qIqm%2Fcrosssectionfuzzysearch.png?alt=media&#x26;token=6eb65ad2-71e4-40dd-a3ae-68f39a5a62b1" alt=""><figcaption><p>Fig. 3.3.8.2: Fuzzy search option in the context menu of the Cross Section Selector-component.</p></figcaption></figure>

{% file src="<https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6rkhS8IteqWJRfUuJlL5%2Fuploads%2F1K12JWc9jyNmNfRz6nQZ%2FdifferentCroSecsFromTable.gh?alt=media&token=9ca200fa-f276-48f9-8d93-422f2a276a9c>" %}

{% file src="<https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6rkhS8IteqWJRfUuJlL5%2Fuploads%2FxbA4BO6AbCtoW8J8kdJ4%2FCross_Section_Range_Selector.gh?alt=media&token=d80e20fb-dd38-41e4-bfc8-a0300b2d8f22>" %}

{% file src="<https://2671626451-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6rkhS8IteqWJRfUuJlL5%2Fuploads%2Fufz6ZbKWQBgLwYXvJolC%2FCross_Section_Selector.gh?alt=media&token=bbda60fc-c94c-4abe-a2a9-7b4663547f5d>" %}
