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

# make_for_each_range class

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

## Summary

Generate a range that can be consumed by the for\_each operator

available inputs: `try_generate_iterable` (bool) (optional), `iterable` (object) (optional), `operator_to_iterate` (Operator), `pin_index` (Int32), `valueA` (object), `valueB` (object), `valueC1` (object), `valueC2` (object)

available outputs: `output` (object)

## Example

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

op = make_for_each_range(try_generate_iterable=my_try_generate_iterable,iterable=my_iterable,operator_to_iterate=my_operator_to_iterate,pin_index=my_pin_index,valueA=my_valueA,valueB=my_valueB,valueC1=my_valueC1,valueC2=my_valueC2)
```

## Class Information

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

## Inputs

### try\_generate\_iterable

if true, already iterable values connected in pin 3 like vectors, Scoping, TimefreqSupport, Containers and DataSources are split to iterate on it (default is true)

**Type:** *LinkableInput*

### iterable

Iterable object, generated by make\_for\_each\_range oeprator, that can be combined with the one currently generated.

**Type:** *LinkableInput*

### operator\_to\_iterate

Operator that must be reconnected with the range values.

**Type:** *LinkableInput*

### pin\_index

**Type:** *LinkableInput*

### valueA

**Type:** *LinkableInput*

### valueB

**Type:** *LinkableInput*

### valueC1

**Type:** *LinkableInput*

### valueC2

**Type:** *LinkableInput*

## Outputs

### output

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
make_for_each_range(try_generate_iterable, iterable, operator_to_iterate, pin_index, valueA, valueB, valueC1, valueC2, config)
```

**Parameters:**

* `try_generate_iterable` (*object*)
* `iterable` (*object*)
* `operator_to_iterate` (*object*)
* `pin_index` (*object*)
* `valueA` (*object*)
* `valueB` (*object*)
* `valueC1` (*object*)
* `valueC2` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
make_for_each_range(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
```
