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

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

Abstract base class for all model objects from MVVM for Builder UI implementations. Provides common
functionality for handling a set of variables and conversions to/from PHXVariable.

```csharp theme={null}
public abstract class AbstractBuilderModel : AbstractDisposable, IBuilderUIModel, IDisposable

```

#### Inheritance

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

#### Derived

[ScriptModel](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.ScriptModel),
[VariableBasedBuilderModel](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.VariableBasedBuilderModel)

#### Implements

[IBuilderUIModel](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel),
[IDisposable](https://learn.microsoft.com/dotnet/api/system.idisposable)

#### Inherited Members

AbstractDisposable.disposed,
AbstractDisposable.Dispose(),
AbstractDisposable.IsDisposed,
AbstractDisposable.Dispose(bool),
[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

[AbstractBuilderModel()](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.-ctor.md)

Constructor

## Properties

[ExternalMetadata](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.ExternalMetadata.md)

The ExternalMetadata, if any, associated with the pacz

[InputVariables](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.InputVariables.md)

The input variables for the plug-in.

[IsReadOnly](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.IsReadOnly.md)

If the Pacz that this builder is showing is Read Only and cannot be saved

[OutputVariables](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.OutputVariables.md)

The output variables for the plug-in.

## Methods

[CloneInputVariablesFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.CloneInputVariablesFrom.md#cloneinputvariablesfrom-ienumerable\<iruntimevariable>)

Sets `Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.InputVariables` based on the passed in values

[CloneOutputVariablesFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.CloneOutputVariablesFrom.md#cloneoutputvariablesfrom-ienumerable\<iruntimevariable>)

Sets `Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.OutputVariables` based on the passed in values

[Dispose(bool)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.Dispose.md)

Standard disposal.

[FromPaczAsync(IReadOnlyExtractedPacz)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.FromPaczAsync.md#frompaczasync-ireadonlyextractedpacz)

Reads this model in from the given `Phoenix.PaczAPI.IReadOnlyExtractedPacz`

[GetVariablesAsPHXVariable(VariableValueScope)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.GetVariablesAsPHXVariable.md#getvariablesasphxvariable-variablevaluescope)

Retrieves the `Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.InputVariables` and `Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.OutputVariables`
converted to an enumerable of PHXVariable objects.

[MoveInputVariablesFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.MoveInputVariablesFrom.md#moveinputvariablesfrom-ienumerable\<iruntimevariable>)

Sets `Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.InputVariables` based on the passed in values

[MoveOutputVariablesFrom(IEnumerable\<IRuntimeVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.MoveOutputVariablesFrom.md#moveoutputvariablesfrom-ienumerable\<iruntimevariable>)

Sets `Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.OutputVariables` based on the passed in values

[PHXVariableToRuntimeVariable(PHXVariable)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.PHXVariableToRuntimeVariable.md#phxvariabletoruntimevariable-phxvariable)

Converts from a PHXVariable to an IRuntimeVariable

[PHXVariablesToRuntimeVariables(IEnumerable\<PHXVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.PHXVariablesToRuntimeVariables.md#phxvariablestoruntimevariables-ienumerable\<phxvariable>)

Converts all passed in PHXVariables into IRuntimeVariables.

[RuntimeVariableToPHXVariable(IRuntimeVariable, bool, VariableValueScope)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.RuntimeVariableToPHXVariable.md#runtimevariabletophxvariable-iruntimevariable-bool-variablevaluescope)

Converts from an IRuntimeVariable to a PHXVariable

[RuntimeVariablesToPHXVariables(IEnumerable\<IRuntimeVariable>, IEnumerable\<IRuntimeVariable>, VariableValueScope)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.RuntimeVariablesToPHXVariables.md#runtimevariablestophxvariables-ienumerable\<iruntimevariable>-ienumerable\<iruntimevariable>-variablevaluescope)

Converts a set of input and output variables into an enumerable of PHXVariable.

[SetVariablesAsPHXVariable(IEnumerable\<PHXVariable>)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.SetVariablesAsPHXVariable.md#setvariablesasphxvariable-ienumerable\<phxvariable>)

Reads a list of PHXVariable objects and replaces the `Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.InputVariables`
and `Phoenix.ComponentPlugInSDK.Models.IBuilderUIModel.OutputVariables` parameters based on this content, converted to
IRuntimeVariables.

[ToPaczAsync(IExtractedPacz)](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/apidocs/Phoenix.ComponentPlugInSDK.Models.AbstractBuilderModel.ToPaczAsync.md#topaczasync-iextractedpacz)

Writes out this model to the passed in `Phoenix.PaczAPI.IExtractedPacz`
