Ansys Learning Forum › Forums › Discuss Simulation › Photonics › An inquiry regarding simulating hollow cylinder › Reply To: An inquiry regarding simulating hollow cylinder
November 1, 2021 at 6:36 pm
amora
Subscriber
I tried to change the mesh order of the inner cylinder to be 1, so it will take priority in the running. I used this script to change the mesh order:
setmaterial( "Au (Gold) - Palik", "mesh order", 1);
However, I got this error:
Error: prompt line 104: The material, Au (Gold) - Palik, is write protected.
It means that I won't be able to change the mesh order because the material is protected.
What's the solution please?
setmaterial( "Au (Gold) - Palik", "mesh order", 1);
However, I got this error:
Error: prompt line 104: The material, Au (Gold) - Palik, is write protected.
It means that I won't be able to change the mesh order because the material is protected.
What's the solution please?