My LUA script is as follows. After running the following code, the solution method in the generated .cfx file remains MoM. What could be the reason for this?
application = cf.Application.getInstance()
project = application:NewProject()
project.Importer.MeshImporter:Import[[C:\aircraft.stl]]
project.Contents.SolutionConfigurations.GlobalFrequency.Start = "1e10"
properties = application.Project.Mesher.Settings:GetProperties()
properties.MeshSizeOption = cf.Enums.MeshSizeOptionEnum.Standard
application.Project.Mesher.Settings:SetProperties(properties)
pec = application.Project.Definitions.Media.PerfectElectricConductor
application.Project.Mesher:Mesh()
meshTriangleFaces = project.Contents.Meshes["UnknownMeshParts_1"].Faces[1]
meshTriangleFaces= cf.Enums.FaceSolutionMethodEnum.LEPOFullRayTracing