I recently noticed an issue in device when using the setup script. When using the addmesh command, the mesh that is added is a mode/fdtd mesh (the mesh override is specified in terms of equivalent index or dx,dy,dz). When I first saw this I did not think anything of it; however it has become clear that these do not affect that actual mesh when running the simulations. Similarly the addmeshconstraint command does not seem to work so it does not seem possible to override the mesh when using a setup script. I’ve check a few things such as unchecking the construction object group and adding a mesh override manually however this causes device to crash everytime whether I click the icon or I type addmesh into the command line(a snapshot is below). Using addmesh from the command line in a new project does work, but for some reason putting it in the model setup script does not work.