Skip to main content

Component Plug-In SDK 2026 R1

Method CreateCloneFrom

Last update: 19.06.2026

Namespace: Phoenix.ComponentAPI
Assembly: Phoenix.ComponentAPI.dll

CreateCloneFrom(IEnumerable<KeyValuePair<string, VariableState>>)

Creates a new ComponentRunRequest by making a clone of the given data.

public static ComponentRunRequest CreateCloneFrom(IEnumerable<KeyValuePair<string, VariableState>> source)

Parameters

source IEnumerable<KeyValuePair<string, VariableState>>

The input values to use for the run request.

Returns

ComponentRunRequest

A newly created ComponentRunRequest

Remarks

You should always use the returned value in a using block, or otherwise ensure it will be disposed.

CreateCloneFrom(IEnumerable<IRuntimeVariable>, IEnumerable<KeyValuePair<string, VariableState>>)

Creates a new ComponentRunRequest by making a clone of the given data, filtered by a set of inputs.

public static ComponentRunRequest CreateCloneFrom(IEnumerable<IRuntimeVariable> inputList, IEnumerable<KeyValuePair<string, VariableState>> source)

Parameters

inputList IEnumerable<IRuntimeVariable>

Which variables to include from source

source IEnumerable<KeyValuePair<string, VariableState>>

The input values to use for the run request.

Returns

ComponentRunRequest

A newly created ComponentRunRequest

Remarks

You should always use the returned value in a using block, or otherwise ensure it will be disposed.

CreateCloneFrom(IEnumerable, IEnumerable<KeyValuePair<string, VariableState>>)

Creates a new ComponentRunRequest by making a clone of the given data, filtered by a set of inputs.

public static ComponentRunRequest CreateCloneFrom(IEnumerable<string> inputList, IEnumerable<KeyValuePair<string, VariableState>> source)

Parameters

inputList IEnumerable<string>

Which variables to include from source

source IEnumerable<KeyValuePair<string, VariableState>>

The input values to use for the run request.

Returns

ComponentRunRequest

A newly created ComponentRunRequest

Remarks

You should always use the returned value in a using block, or otherwise ensure it will be disposed.

Connect with Ansys