> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# get_element_labels

## DrapingData.get\_element\_labels(visible=None, selected=None)

Get element labels (element numbers as read from / written to mesh files)  of plot.

### Parameters

* visible: One or more objects defining visible scope
* selected: Selected one or more objects for ply-wise evaluations.

### Returns

Resulting array with element labels from the intersection of

* data\_scope of plot
* visible\_scope defined by visible
* selection\_scope defined by selected

Labels are returned independent of update status of plot, but only if results for the current plot configuration are available, else an empty array is returned.

### Examples

: Get element labels for current plot with visible scope set to element set “All\_Elements” and with ply1 and ply2 selected:

```python theme={null}
>>> eis = my_plot.get_element_labels(visible=db.active_model.element_sets['All_Elements'], selected=[ply1, ply2])
```

Get element labels for current plot with visible scope equal to all objects visible in current scene::
: \`\`\`pycon

> > > eis = my\_plot.get\_element\_labels(visible=db.active\_model.active\_scene.active\_set.entities)

```
```
