-
-
October 21, 2021 at 8:02 pm
samkim
SubscriberFor structure groups, I know I can use the command
set("construction group", true);
to toggle if they are a construction group or not. The model has this option through the GUI, but when I try to toggle it through the script, it gives me the error
in set, the requested property was not found
Is there a different command for the ::model?
October 25, 2021 at 6:05 pmKyle
Ansys Employee
I don't think it's possible to set this for the model group through script. You can essentially make the model group a construction group by adding deleteall;to the beginning of the setup script. This you can do with script commands by extracting the model setup script as a string and appending "deleteall;\n" to the beginning:
´╗┐setup_script = getnamed("::model", "setup script");
setup_script = "deleteall;\n" + setup_script;
setnamed("::model", "setup script", setup_script);
Viewing 1 reply thread- The topic ‘Lumerical FDTD: How to toggle “Construction group” for “::model” through script?’ is closed to new replies.
Innovation SpaceTrending discussionsTop Contributors-
5649
-
1885
-
1404
-
1303
-
1021
Top Rated Tags© 2026 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.
-
Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.