Photonics

Photonics

Topics related to Lumerical and more.

LumApiError: ‘no import objects are currently selected’

TAGGED: , , ,

    • Mehdi Feizpour
      Subscriber

      Hello,

       

      I am getting this error: #LumApiError: 'no import objects are currently selected' when trying to import a text file as a surface using "#importsurface" command in #FDTD.

      I can #import the #surface using the GUI but when I try to use #Python, this error pops up in the terminal. 

       

      Any as to what is causing this error woudl be appreciated as I did not find anything online. 

    • Mehdi Feizpour
      Subscriber

      Apparently, before importing a surface, you have to make an import object by fdtd.addimport()
      I accidentally came across this webpage: https://optics.ansys.com/hc/en-us/articles/360034404154-addimport

    • Guilin Sun
      Ansys Employee

      Thank you Mehdi Feizpour for the reply. You are correct.

Viewing 2 reply threads
  • The topic ‘LumApiError: ‘no import objects are currently selected’’ is closed to new replies.