-
-
July 8, 2024 at 1:44 pmFatemeh SalahshooriSubscriber
Hi,
Â
I am using Python for scripting my simulation. I have simulated a waveguide using FDE and saved data using this commandÂ
FDE = lumapi.MODE()
data = FDE.copydcard("frequencysweep")
FDE.savedcard("data.ldf", data)Â
Now I want to load this ldf file in interconnect for the waveguide mode element. When i use the "loaddata" command I get this error 'Unsupported data type'
could you please tell me how can I load this file into the waveguide mode element in interconnect?
Thank you.Â
Â
-
July 9, 2024 at 9:45 pmKyleAnsys Employee
Hello, you can load the mode data into the MODE Waveguide Element by setting the "ldf filename" property of the element to the file path for the LDF file. You can do this through script with these commands:
intc = lumapi.INTERCONNECT()intc.addelement("MODE Waveguide")
intc.set("ldf filename", "data.ldf")
-
- The topic ‘python API scripting Interconnect’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- Import material .txt file with script
- Trapezoidal ring
- Help for qINTERCONNECT
- Absorption cross-section of AuNR excited by prism-based TIR
- Issues with getting result from interconnent analysis script
- How to measure transmission coefficients on a given plane .
- Topology Optimization Error
- Edge Coupler EME Example Issue
-
1887
-
807
-
599
-
591
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.