I have selected a subset of areas by
ASEL,S,LOC,Y,0
APLOT
With the selected areas I have counted them via
*GET,A,AREA,,COUNT
then I have defined an array via
*DIM,B,ARRAY,1,AREA
This creates an empty array with 1 row and columns equal to no of areas.
I have now an array with specific area numbers.
I want to select the kepoints which form the area so that I can map mesh them in this format .
AMAP,AREANO,K1,K2,K3,K4
The keypoints have to be selected in a particular order and they are not in a particular ascending or descending order.