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

# change_location class

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

## Summary

Changes the location property of a field without modifying the field data.

available inputs: `field` (Field), `new_location` (string)

available outputs: `field` (Field)

## Example

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

op = change_location(field=my_field,new_location=my_new_location)
```

## Class Information

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

## Inputs

### field

Field whose location will be changed

**Type:** *LinkableInput*

### new\_location

New location string for the field (e.g., 'Nodal', 'ElementalNodal', 'Elemental')

**Type:** *LinkableInput*

## Outputs

### field

Field with the updated location property

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
change_location(field, new_location, config)
```

**Parameters:**

* `field` (*object*)
* `new_location` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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