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

# Class VariableValueScopeExtensions

Namespace: [Phoenix.PaczAPI](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.PaczAPI)\
Assembly: Phoenix.PaczAPI.dll

Extension functions that enable filling a scope from an IReadOnlyComponentConfig

```csharp theme={null}
public static class VariableValueScopeExtensions

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[VariableValueScopeExtensions](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.PaczAPI.VariableValueScopeExtensions)

#### Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object\)),
[object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals\(system-object-system-object\)),
[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode),
[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype),
[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone),
[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Methods

[ClearAndFillFromConfig(VariableValueScope, IReadOnlyComponentConfig, bool, bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.PaczAPI.VariableValueScopeExtensions.ClearAndFillFromConfig.md)

Clears the given scope of all variables and values, and then calls
`Phoenix.PaczAPI.VariableValueScopeExtensions.FillFromConfig(Phoenix.ModelCenter.Common.Types.VariableValueScope,Phoenix.PaczAPI.IReadOnlyComponentConfig,System.Boolean,System.Boolean)`

[FillFromConfig(VariableValueScope, IReadOnlyComponentConfig, bool, bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.PaczAPI.VariableValueScopeExtensions.FillFromConfig.md)

For each variable in the component config, set the default value into the given scope.
