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

# RAParametricVar

### *class* RAParametricVar

Rocky PrePost Scripting wrapper for a parametric input variable.

Parametric input variables can be retrieved via a project’s [`RAInputVariables`](https://developer.synopsys.com/docs/rocky/rocky-prepost-scripting/2025-r2/RAInputVariables#generated.RAInputVariables). This
wrapper provides methods to rename the variable and change its value. Example usage:

```python theme={null}
input_variables = project.GetInputVariables()
variable = input_variables.CreateVariable('a')

variable.SetName('b')
variable.SetValue(100)
```

**Methods:**

| Name | Description |
| - | - |
| [`GetValue`](#generated.RAParametricVar.GetValue)() | Get the variable's current value. |
| [`SetValue`](#generated.RAParametricVar.SetValue)(value) | Set the variable's current value. |

#### GetValue()

Get the variable’s current value.

#### SetValue(value: float)

Set the variable’s current value.
