*nextmacrofile()
Read in the next macro file from the history stack.
Syntax
*nextmacrofile ()
Type
HyperMesh Utility Menu
Description
The following example creates the Next and Prev buttons, and pushes two additional macro filenames onto the history stack.
*insertbutton(0,"prev",1,0,5,YELLOW,"prev macro file","prevMacroFile")
*insertbutton(0,"next",1,5,5,YELLOW, "next macro file","nextMacroFile")
*beginmacro("prevMacroFile")
*prevmacrofile()
*endmacro()
*beginmacro("nextMacroFile")
*nextmacrofile()
*endmacro()
*pushmacrofile("metalform.mac")
*pushmacrofile("optimize.mac")
Example
The Utility menu maintains a stack of the names of the macro files sourced in from the HyperMesh menu Config panel. This command, along with the *prevmacrofile command, allows you to move up and down the macro filename stack.