VBA get comps by component reference

I am working with Printed Circuit Board assemblies (from PADS Layout through Circuitworks).

I need to make a VBA call from PADS Layout VB to select or get a component in Solidworks using it's Component Reference.

i.e., I have resistor "R12" selected in PADS, I want to also select it in Solidworks.

I can't seem to find a get or select that allows me to filter by the Component Reference.  I will need to do this for quite a few parts, so I would rather not loop through a few hundred components in Solidworks for each reference designator if I don't have to.

Thanks,

Pete

SolidworksApi macros