Skip to main content
View as Markdown

IParameterVariation interface

The IParameterVariation interface represents the component that contains parameter variations. Physically, there is only one PCB document with components that are specified. So for each output requirement, each document variant is generated, although there is only one PCB design document.

public interface IParameterVariation : IDMObject

Namespace: EDP · Assembly: Altium.SDK.Interfaces

Inherits: IDMObject

Methods​

MethodReturnsDescription
DM_CalculatedValuestring
DM_ParameterNamestringDenotes the name of the parameter that the component is associated with.
DM_SetParameterNamevoid
DM_SetVariedValuevoid
DM_VariedValuestringDenotes the value of the parameter that the component is associated with.

DM_CalculatedValue​

No description yet.

string DM_CalculatedValue(IComponent argComponent, IComponentVariation argComponentVariation);
string DM_CalculatedValue(object argComponent, object argComponentVariation);
ParameterTypePassing
argComponentIComponentvalue
argComponentVariationIComponentVariationvalue

Returns: string

The first overload is an extension method of IParameterVariationHelper (using EDP;) with typed parameters; the second is declared by the interface.

DM_ParameterName​

Denotes the name of the parameter that the component is associated with.

string DM_ParameterName();

Returns: string

Examples: Extension_BOMManager

DM_SetParameterName​

No description yet.

void DM_SetParameterName(string argValue);
ParameterTypePassing
argValuestringvalue

Returns: nothing (void)

Examples: Extension_AddVariant

DM_SetVariedValue​

No description yet.

void DM_SetVariedValue(string argValue);
ParameterTypePassing
argValuestringvalue

Returns: nothing (void)

Examples: Extension_AddVariant

DM_VariedValue​

Denotes the value of the parameter that the component is associated with. A component variant can have parameter variants.

string DM_VariedValue();

Returns: string

Examples: Extension_BOMManager

Inherited members​

Returned by​

IComponentVariation.DM_AddParameterVariation, IComponentVariation.DM_FindParameterVariation, IComponentVariation.DM_Variations

Examples​

Used in the SDK examples: Extension_AddVariant.