Macro to get the value of a custom property of a component within the assembly, without having to open it.

Is it possible to obtain the value of a custom property within the assembly, without having to open it?

I have a macro that gets the property value, but have to open each component to get it.
If there was a way to get it without having to open the component it was much faster and makes it a lot easier.

I embrace any help.

SolidworksApi/macros