Set material in a child actor blueprint from aother actor blueprint (Running only in Construction script)

By doing this, Do I need to replace the “cast to” for the “Add Child Actor Component” or how should this be implanted?

Is any of this right? - how do I get the meshes out and into the “Set Material” Child Actor Component?