TAGGED: parameter-set, scripting
-
-
February 15, 2022 at 6:06 amNataliaMSubscriber
Hello!
How do I change the model user properties through the Lumerical script file?
Thank you
Natalia
February 15, 2022 at 5:43 pmGuilin SunAnsys EmployeeLike any other object, you can use this script to set the parameters:
setnamed("::model","aa",3); # "model" is a special object so it needs "::" before its name
If it is for group parameter, you can use
setnamed("group_name","var_name", value);
Please note that all values are in MKS unit in script by default, which is different from GUI where you can see/set derived units, such as um in length instead of meter, and fs instead of second.
The variables must exist before using the above script.
April 26, 2022 at 3:01 amfudujiSubscriberThank you
Viewing 2 reply threads- The topic ‘Change model user properties using script’ is closed to new replies.
Ansys Innovation SpaceTrending discussions- 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
- 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
Top Contributors-
1416
-
599
-
591
-
565
-
366
Top Rated Tags© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
-