The format of the AF,P1 was changed in CMES version 15.1 to be AF,P1[,[plane],points]. If you are supplying the points to the command with a preceding UG command, you need not specify the number of points on the AF,P1 command line.