If you want to use selection sets within a script and have the script execute properly on different geometries, you should use a Display-Text based expression. For example, if you have a selection set called “Inlet” defined in your geometry, in order for it to work correctly when run on a different geometry (also with a selection set called “Inlet”), you should resolve the selection set to the expression GetSelectionSet(“@Inlet”). If you do not use this format with the "@" symbol, the expression will be based on an object's internal name and may not work across different geometries.
If you try to run a script from ANSYS AIM 16.0 that contains a Suppress Control in the Configure Task but does not specify any parts to suppress, the script will stop due to a validity rule that requires that the Part Selection property for Suppress and Move Rotate Controls is not empty. The simplest fix is to delete the configure control since it does not affect the model.