Guilin Sun
Ansys Employee

Not every script can work in groups or model. Unfortunately, "setglobalsource" does not work in model.

When "setglobalsource" does not work, please try other method. For example, you can preset the global source parameters and save it into a template project file. Everyting you need it, load it first, save it to a new file name to prevent modification of the template.

 

You can also file a feature request. Please refer to this post

https://forum.ansys.com/forums/topic/vote-new-features-and-file-your-feature-request/#latest