*RETURN

*RETURN, Level
Returns input stream to a higher level.

Compatible Products: – | Pro | Premium | Enterprise | Ent PP | Ent Solver | DYNA

Argument Descriptions

Level

Number of levels to move up from the current level.

Negative -- 

Move relative to current level. For example: *Return,-2 will go up two levels from the current level.

Positive -- 

Move to absolute level. For example: *Return,2 will go to level 2.

Level 0 is the primary input file.

Notes

This command is used to jump to the macro call sequence, ending the current macro file, and returning to the line after the calling line in the previous file. Unlike the *GO command, this command may be used inside *IF or *DO constructs.

Menu Paths

This command cannot be accessed from a menu.

Release 18.2 - © ANSYS, Inc. All rights reserved.