Get all static mesh components?

I created a blueprint and in the construction script i have this setup, which works fine:

I would like to set the material for each component:

However, the construction script didn’t create the meshes in the “Components” tab, which means that I can’t reference them. Is there a way I can get all of the “Primitive Component Reference” instead of the “Scene Component reference”? I didn’t find the node for that.

Thanks in advance.

If you have access to C++ you could use the actors GetComponent() template function. Or expose it to BP (not directly but for a given type).

So, are you saying that it’s possible to write only one Blueprint Node in c++?

What I’m saying is that you could add a C++ base class to from which your BP class will inherit and there you can add function which exposes the functionality you need.