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 discussionsTop Contributors-
376
-
187
-
167
-
156
-
140
Top Rated Tags© 2024 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.
-