Static Lighting & Splines Meshes on Construction Script

where do you set the spline mesh to static? through construction script? if so what do I search for?