Skip to main content
View as Markdown

IComponentMappings interface

The IComponentMappings interface represents the mapping of source components and target components in schematic and PCB documents.

public interface IComponentMappings : IDMObject

Namespace: EDP · Assembly: Altium.SDK.Interfaces

Inherits: IDMObject

Methods​

MethodReturnsDescription
DM_MatchedComponentCountintReturns the number of matched components.
DM_MatchedSourceComponentIComponentReturns the indexed matched source component (that has been matched with a target component).
DM_MatchedTargetComponentIComponentReturns the indexed matched source component (that has been matched with a target component).
DM_UnmatchedSourceComponentIComponentReturns the indexed unmatched source component, that is, a target component could not be found to map to this source component.
DM_UnmatchedSourceComponentCountintReturns the number of unmatched source components.
DM_UnmatchedTargetComponentIComponentReturns the indexed unmatched target component, that is, a source component could not be found to map to the target component.
DM_UnmatchedTargetComponentCountintReturns the number of unmatched target components.

DM_MatchedComponentCount​

Returns the number of matched components.

int DM_MatchedComponentCount();

Returns: int

DM_MatchedSourceComponent​

Returns the indexed matched source component (that has been matched with a target component). Use the DM_MatchedSourceComponentCount method.

IComponent DM_MatchedSourceComponent(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: IComponent

Extension method of IComponentMappingsHelper (using EDP;).

DM_MatchedTargetComponent​

Returns the indexed matched source component (that has been matched with a target component). Use the DM_MatchedTargetComponentCount method.

IComponent DM_MatchedTargetComponent(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: IComponent

Extension method of IComponentMappingsHelper (using EDP;).

DM_UnmatchedSourceComponent​

Returns the indexed unmatched source component, that is, a target component could not be found to map to this source component. Use the DM_UnmatchedSourceComponentCount method.

IComponent DM_UnmatchedSourceComponent(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: IComponent

Extension method of IComponentMappingsHelper (using EDP;).

DM_UnmatchedSourceComponentCount​

Returns the number of unmatched source components.

int DM_UnmatchedSourceComponentCount();

Returns: int

DM_UnmatchedTargetComponent​

Returns the indexed unmatched target component, that is, a source component could not be found to map to the target component. Use the DM_UnmatchedTargetComponentCount method.

IComponent DM_UnmatchedTargetComponent(int argIndex);
ParameterTypePassing
argIndexintvalue

Returns: IComponent

Extension method of IComponentMappingsHelper (using EDP;).

DM_UnmatchedTargetComponentCount​

Returns the number of unmatched target components.

int DM_UnmatchedTargetComponentCount();

Returns: int

Inherited members​

Returned by​

IProject.DM_ComponentMappings, IProject.DM_ComponentMappings_1