Skip to main content

Component Plug-In SDK 2026 R1

Class VariableBasedBuilderViewModel

Last update: 19.06.2026

Namespace: Phoenix.ComponentPlugInSDK.ViewModels
Assembly: Phoenix.ComponentPlugInSDK.dll

View model for the VariableBasedBuilderView.

public class VariableBasedBuilderViewModel : AbstractPlugInViewModel<VariableBasedBuilderModel>, IPlugInViewModel, INotifyPropertyChanged

Inheritance

object ← AbstractPlugInViewModel<VariableBasedBuilderModel> ← VariableBasedBuilderViewModel

Implements

IPlugInViewModel, INotifyPropertyChanged

Inherited Members

AbstractPlugInViewModel<VariableBasedBuilderModel>.PropertyChanged, AbstractPlugInViewModel<VariableBasedBuilderModel>.OnPropertyChanged(string), AbstractPlugInViewModel<VariableBasedBuilderModel>._logger, AbstractPlugInViewModel<VariableBasedBuilderModel>._showErrorAction, AbstractPlugInViewModel<VariableBasedBuilderModel>.SaveCommand, AbstractPlugInViewModel<VariableBasedBuilderModel>.OkCommand, AbstractPlugInViewModel<VariableBasedBuilderModel>.IsReadOnly, AbstractPlugInViewModel<VariableBasedBuilderModel>.IsNotReadOnly, AbstractPlugInViewModel<VariableBasedBuilderModel>.ExternalMetadata, AbstractPlugInViewModel<VariableBasedBuilderModel>.IsBusy, AbstractPlugInViewModel<VariableBasedBuilderModel>.IsDirty, AbstractPlugInViewModel<VariableBasedBuilderModel>.StatusColor, AbstractPlugInViewModel<VariableBasedBuilderModel>.StatusMessage, AbstractPlugInViewModel<VariableBasedBuilderModel>.HasStatus, AbstractPlugInViewModel<VariableBasedBuilderModel>.SetStatus(string, Color), AbstractPlugInViewModel<VariableBasedBuilderModel>.InputVariables, AbstractPlugInViewModel<VariableBasedBuilderModel>._onInputsChanged(), AbstractPlugInViewModel<VariableBasedBuilderModel>.MoveInputVariablesFrom(IEnumerable<IRuntimeVariable>), AbstractPlugInViewModel<VariableBasedBuilderModel>.CloneInputVariablesFrom(IEnumerable<IRuntimeVariable>), AbstractPlugInViewModel<VariableBasedBuilderModel>.OutputVariables, AbstractPlugInViewModel<VariableBasedBuilderModel>._onOutputsChanged(), AbstractPlugInViewModel<VariableBasedBuilderModel>.MoveOutputVariablesFrom(IEnumerable<IRuntimeVariable>), AbstractPlugInViewModel<VariableBasedBuilderModel>.CloneOutputVariablesFrom(IEnumerable<IRuntimeVariable>), AbstractPlugInViewModel<VariableBasedBuilderModel>.BuilderName, AbstractPlugInViewModel<VariableBasedBuilderModel>.WindowTitle, AbstractPlugInViewModel<VariableBasedBuilderModel>.WindowIcon, AbstractPlugInViewModel<VariableBasedBuilderModel>.SaveAsync(), AbstractPlugInViewModel<VariableBasedBuilderModel>._handleError(Exception), AbstractPlugInViewModel<VariableBasedBuilderModel>.SetVariablesAsPHXVariable(IEnumerable<PHXVariable>), AbstractPlugInViewModel<VariableBasedBuilderModel>.GetVariablesAsPHXVariable(VariableValueScope), object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

VariableBasedBuilderViewModel(VariableBasedBuilderModel, ILogger, string, Func<VariableBasedBuilderModel, Task>, Func<string, VariableBasedBuilderViewModel, Task>, Action, Action<Exception>, Uri)

Constructor.

Properties

ExtractionFolder

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

FilePath

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

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

FileSelectionHeader

The header to use above the file selection dialog.

OpenFileCommand

Command to tell the builder to open a file

Methods

_onInputsChanged()

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

_onOutputsChanged()

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

Connect with Ansys