


{"id":395608,"date":"2024-11-28T03:24:17","date_gmt":"2024-11-28T03:24:17","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/395608\/"},"modified":"2024-11-28T03:24:17","modified_gmt":"2024-11-28T03:24:17","slug":"395608","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/395608\/","title":{"rendered":"Reply To: Edge Coupler EME Example Issue"},"content":{"rendered":"<p>&lt;p&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Hello Shangxuan,&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;1.The script in the example file was created for an older version of Lumerical and needs to be updated on our side. Thank you for identifying this issue.&lt;\/span&gt;&lt;br&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;The attributes of the mesh object have changed. To check the new attributes, you can open a new project and add a mesh object. You should see the updated attributes: <em>&#8216;set equivalent index&#8217;<\/em> and <em>&#8216;equivalent z index&#8217;<\/em>. See also <a href=\"https:\/\/optics.ansys.com\/hc\/en-us\/articles\/360034901833-Mesh-override-Simulation-Object\" target=\"_blank\" rel=\"noopener\">Mesh override &#8211; Simulation Object<\/a>.&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/11\/28-11-2024-1732761893-mceclip0.png\" width=\"456\" height=\"373\" \/>&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;2. Theoretically, you can try to replace line 158 and line 159 in the script with&lt;\/span&gt;&lt;\/p&gt;<\/p>\n<pre>&lt;span style=\"font-size: 12pt;\"&gt;set(\"set equivalent index\",true);&lt;\/span&gt;&lt;br&gt;&lt;span style=\"font-size: 12pt;\"&gt;set(\"equivalent z index\",4);&lt;\/span&gt;<\/pre>\n<p>&lt;p&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;This should align the script with the current version of Lumerical. However, in some cases, this may not fully resolve the issue.&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;3. I will be running more tests. In the meantime, you can either use your script modification, comment out these two lines, or refine the mesh in another way &mdash; whichever works best for you.&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Sorry for the inconvenience, and thank you again for bringing this issue to our attention.&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Best regards,&lt;\/span&gt;&lt;br&gt;&lt;span style=&#8221;font-size: 12pt;&#8221;&gt;Kirill&lt;\/span&gt;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-395608","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/395608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/395608\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=395608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}