*ENDIF
Ends an if-then-else.
Required terminator for the if-then-else construct. See the *IF for details. If a batch input stream hits an end-of-file during a false *IF condition, the ANSYS run will not terminate normally. You will need to terminate it externally (use either the Linux “kill” function or the Windows task manager). The *ENDIF command must appear on the same file as the *IF command, and all six characters must be input.
This command is valid in any processor.