> ## 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.

# elementary_data_selector_fc class

**Namespace:** [Ans.DataProcessing.operators.logic](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/logic)

## Summary

Creates a scalar fields container based on the selected elementary data for each field.

available inputs: `fields_container` (FieldsContainer, Field), `elementary_data_index` (Int32, IList int, System.Collections.IEnumerable), `elementary_data_index_2` (Int32, IList int, System.Collections.IEnumerable) (optional)

available outputs: `fields_container` (FieldsContainer)

## Example

```python theme={null}
op = elementary_data_selector_fc()

op = elementary_data_selector_fc(fields_container=my_fields_container,elementary_data_index=my_elementary_data_index,elementary_data_index_2=my_elementary_data_index_2)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.logic` |
| Assembly | `Ans_Dpf_Native_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### fields\_container

**Type:** *LinkableInput*

### elementary\_data\_index

one or several elementary data indices that will be extracted from the initial field. For a field with a nature matrix, this extracts the line indices.

**Type:** *LinkableInput*

### elementary\_data\_index\_2

For a field with nature matrix, this extracts the column indices.

**Type:** *LinkableInput*

## Outputs

### fields\_container

**Type:** *LinkableOutput*

## Constructors

#### Constructor

```python theme={null}
elementary_data_selector_fc()
```

#### Constructor

```python theme={null}
elementary_data_selector_fc(fields_container, elementary_data_index, elementary_data_index_2, config)
```

**Parameters:**

* `fields_container` (*object*)
* `elementary_data_index` (*object*)
* `elementary_data_index_2` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
elementary_data_selector_fc(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
