Erik Kostson
Ansys Employee
actually this is quite easy and can be automated via a *do loop - so you can write to arg1 how many named selections you have (via act as you showed above) and
then just do a loop in the command snippet to get all their names and to create .txt files with their names:
imax=ARG1
*DO, i, 1, imax, 1
*GET,myfcm%i%,COMP,i,NAME
*CFOPEN,myfcm%i% *CFCLOS
*ENDDO