Skip to main content

Component Plug-In SDK 2026 R1

Method GetVariablesAsPHXVariable

Last update: 19.06.2026

Namespace: Phoenix.ComponentPlugInSDK.Models
Assembly: Phoenix.ComponentPlugInSDK.dll

GetVariablesAsPHXVariable(VariableValueScope)

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

public IEnumerable<PHXVariable> GetVariablesAsPHXVariable(VariableValueScope scope)

Parameters

scope VariableValueScope

As PHXVariables are created, the Phoenix.ModelCenter.Common.PHXVariable.DefaultIVariableValue is filled with clones of the input default variables and the cloned values are given to this scope object for management. Values are stored in this scope using the variable name as the key and with a validity of false.

Returns

IEnumerable<PHXVariable>

The current list of variables

Connect with Ansys