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

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

View model for the VariableBasedBuilderView.

```csharp theme={null}
public class VariableBasedBuilderViewModel : AbstractPlugInViewModel<VariableBasedBuilderModel>, IPlugInViewModel, INotifyPropertyChanged

```

#### Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) ←
[AbstractPlugInViewModel\<VariableBasedBuilderModel>](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1) ←
[VariableBasedBuilderViewModel](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel)

#### Implements

[IPlugInViewModel](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.IPlugInViewModel),
[INotifyPropertyChanged](https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged)

#### Inherited Members

[AbstractPlugInViewModel\<VariableBasedBuilderModel>.PropertyChanged](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.PropertyChanged.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.OnPropertyChanged(string)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.OnPropertyChanged.md#onpropertychanged-string),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.\_logger](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1._logger.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.\_showErrorAction](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1._showErrorAction.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.SaveCommand](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.SaveCommand.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.OkCommand](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.OkCommand.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.IsReadOnly](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.IsReadOnly.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.IsNotReadOnly](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.IsNotReadOnly.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.ExternalMetadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.ExternalMetadata.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.IsBusy](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.IsBusy.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.IsDirty](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.IsDirty.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.StatusColor](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.StatusColor.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.StatusMessage](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.StatusMessage.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.HasStatus](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.HasStatus.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.SetStatus(string, Color)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.SetStatus.md#setstatus-string-color),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.InputVariables](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.InputVariables.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.\_onInputsChanged()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1._onInputsChanged.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.MoveInputVariablesFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.MoveInputVariablesFrom.md#moveinputvariablesfrom-ienumerable\<iruntimevariable>),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.CloneInputVariablesFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.CloneInputVariablesFrom.md#cloneinputvariablesfrom-ienumerable\<iruntimevariable>),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.OutputVariables](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.OutputVariables.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.\_onOutputsChanged()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1._onOutputsChanged.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.MoveOutputVariablesFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.MoveOutputVariablesFrom.md#moveoutputvariablesfrom-ienumerable\<iruntimevariable>),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.CloneOutputVariablesFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.CloneOutputVariablesFrom.md#cloneoutputvariablesfrom-ienumerable\<iruntimevariable>),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.BuilderName](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.BuilderName.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.WindowTitle](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.WindowTitle.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.WindowIcon](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.WindowIcon.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.SaveAsync()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.SaveAsync.md),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.\_handleError(Exception)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1._handleError.md#handleerror-exception),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.SetVariablesAsPHXVariable(IEnumerable\<PHXVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.SetVariablesAsPHXVariable.md#setvariablesasphxvariable-ienumerable\<phxvariable>),
[AbstractPlugInViewModel\<VariableBasedBuilderModel>.GetVariablesAsPHXVariable(VariableValueScope)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel-1.GetVariablesAsPHXVariable.md#getvariablesasphxvariable-variablevaluescope),
[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring),
[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.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals),
[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)

## Constructors

[VariableBasedBuilderViewModel(VariableBasedBuilderModel, ILogger, string, Func\<VariableBasedBuilderModel, Task>, Func\<string, VariableBasedBuilderViewModel, Task>, Action, Action\<Exception>, Uri)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel.-ctor.md#variablebasedbuilderviewmodel-variablebasedbuildermodel-ilogger-string-func\<variablebasedbuildermodel-task>-func\<string-variablebasedbuilderviewmodel-task>-action-action\<exception>-uri)

Constructor.

## Properties

[ExtractionFolder](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel.ExtractionFolder.md)

The folder where the files exist. May be a temporary folder, or the original

[FilePath](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel.FilePath.md)

The File path to a file the Builder can open. If the path is within the extraction folder this will return a relative path,
otherwise the path will be an absolute path to the file.

[FilePathAbsolute](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel.FilePathAbsolute.md)

The Absolute Path to the `Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel.FilePath`

[FileSelectionHeader](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel.FileSelectionHeader.md)

The header to use above the file selection dialog.

[OpenFileCommand](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel.OpenFileCommand.md)

Command to tell the builder to open a file

## Methods

[\_onInputsChanged()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel._onInputsChanged.md)

This function will be called when the `Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel`1.InputVariables\` change to allow
derived classes to notify the UI.

[\_onOutputsChanged()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.ViewModels.VariableBasedBuilderViewModel._onOutputsChanged.md)

This function will be called when the `Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel`1.InputVariables\` change to allow
derived classes to notify the UI.
