How to get a static mesh property from aclass?

I created a blueprint for a C++ actor class called Base.
I need to get the blueprint class’ static mesh property (that is declared on the Base class).
Can anyone please help me with it? The Get Class Defaults function doesn’t show static meshes (only strings, etc…)

It is important what you created your class template is. When you create your class you should of used a Actor or pawn template. At the top left in the class there should be something that looks like a person click on this and in the details panel you will want to look for static mesh then add your static mesh from there.

Maybe this will help:

In the image, we get the objects of a specific class, we then iterate through them getting the components of a specific class (in this case StaticMesh) we then iterate through those and print their display name.

Results for this test were:

LogBlueprintUserMessages:
[GetMeshComponent_BP_56]
ENV_Field_Tree_Med_A
LogBlueprintUserMessages:
[GetMeshComponent_BP_56]
ENV_Field_Tree_Med_B
LogBlueprintUserMessages:
[GetMeshComponent_BP_56]
ENV_Field_Tree_Med_B

Good luck!