-
-
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.
Ansys Innovation SpaceTrending discussionsTop Contributors-
3034
-
971
-
858
-
851
-
792
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.
-

Ansys Assistant

Welcome to Ansys Assistant!
An AI-based virtual assistant for active Ansys Academic Customers. Please login using your university issued email address.

Hey there, you are quite inquisitive! You have hit your hourly question limit. Please retry after '10' minutes. For questions, please reach out to ansyslearn@ansys.com.
RETRY