Ansys Learning Forum Forums Discuss Simulation Photonics How to input material instead of permittivity in polygon python script Reply To: How to input material instead of permittivity in polygon python script

xyjxyj1992
Subscriber
Thanks for your reply. But as shown in figure 2, in the script "polygon", the underlining command is to identify whether the input belongs to the material category, so it can be the material name as a string. But the script fails to do that somehow, and the users are not allowed to make any changes on either of these in-built scripts.