Skip to main content

Component Plug-In SDK 2026 R1

Method ClearAndFillFromConfig

Last update: 19.06.2026

Namespace: Phoenix.PaczAPI
Assembly: Phoenix.PaczAPI.dll

ClearAndFillFromConfig(VariableValueScope, IReadOnlyComponentConfig, bool, bool)

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)

public static void ClearAndFillFromConfig(this VariableValueScope scope, IReadOnlyComponentConfig config, bool includeInputs = true, bool includeOutputs = true)

Parameters

scope VariableValueScope

The scope to fill in

config IReadOnlyComponentConfig

The configuration to read from

includeInputs bool

Whether to include input variables in the scope

includeOutputs bool

Whether to include output variables in the scope

Connect with Ansys