Is there any way for me to enable navmesh visibility at runtime?

Hi, I’m having a bit of a nightmare trying to get my enemy ai to traverse newly created parts in the scene. It’s a simple house design but for the life of me I can’t get it to run everytime. Something else is going on and I wondered whether it’s possible to enable the navmesh visibility in studio via script?
I see no options in the studio settings