how can I get and select all the linear pattern in assembly?

Hello, I need to obtain the linear pattern in assembly (get the names of them) and selected it.

Thank´s.

SolidworksApi macros