January 25, 2023 at 5:40 pm
Ansys Employee
Hello Martin,
It seems to me that the list of facets would be problem. This should be a list of np.arrays, with each entry correnponding to a single facet. Not an NP array of the facets.
https://optics.ansys.com/hc/en-us/articles/360034901573-Planar-solid-Simulation-Object
The following are methods of a session handle, so they should be used like fdtd.addplanersolid(),
addplanarsolid()
set('vertices',vtx)
set('facets',a)
I would suggest using putv and compare vtx and a between the API and lsf methods. However if you have a method that works in lsf pehaps you can just use fdtd.eval('' lsf script'')
https://optics.ansys.com/hc/en-us/articles/360041401434
Best Regards,