TAGGED: lumerical, zemax-interoperability
-
-
October 18, 2023 at 4:53 pmMerySubscriber
I am trying to run the example https://optics.ansys.com/hc/en-us/articles/18254409091987 and generate an h5 file for Zemax in Lumerical version 2022 R2.3. I am receiving the following error h5write is not a valid function or variable name. What should I do?
Kind regards,
Maryna
-
October 18, 2023 at 5:12 pmAmrita PatiAnsys Employee
Hi Maryna,
What happens if you run this ?h5write; in the Script Prompt?
Regards,
Amrita -
October 18, 2023 at 7:17 pmMerySubscriber
It doesnt recognize the command. When I start typing ?h5 it suggest me read and info, but no write.
-
October 18, 2023 at 8:41 pmAmrita PatiAnsys Employee
Hi Maryna,
I checked with the team internally. This script command was implemented in the 2023 R2.1 release. So, you would have to install 2023 R2.1 or 2023 R2.2 to be able to use this script command.
Regards,
Amrita -
October 19, 2023 at 11:05 amMerySubscriber
Hi Amrita,
I have follow-up questions:
- Locate the 3 .dll files lumhdf5.dll, lumhdf5_hl.dll, and zlib1.dll in the install folder of Lumerical and copy them in the installation folder of Zemax
What exact folder should I copy to these dll's? I copied it to Zemax>DLL>Surfaces as in step 3. Is it correct?
- Open the file metalens_R10mm_f300mm.zprj and see how the metalens is defined
I have the lates Zemax Optics Studio, and when I am trying to open this file, the extension of this file is not in the list. How can I open this file in OpticStudio?
-
- The topic ‘h5write is not a valid function or variable name’ is closed to new replies.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- How to measure transmission coefficients on a given plane .
- Topology Optimization Error
- Absorption cross-section of AuNR excited by prism-based TIR
-
1301
-
591
-
544
-
524
-
366
© 2025 Copyright ANSYS, Inc. All rights reserved.