Context:
To record actions from Abaqus/CAE, the Abaqus PDE session must be associated with a Abaqus/CAE session. The Abaqus PDE and Abaqus/CAE sessions are associated if you started them together from a command prompt or if you started the Abaqus PDE by selecting in Abaqus/CAE. For more information on starting the Abaqus PDE, see Starting the Abaqus Python development environment.
From the main menu bar in the Abaqus PDE, select to create a new empty file in the main window.
Click the Start Recording icon to begin recording actions from Abaqus/CAE.
Abaqus writes the following two lines to begin the file:
from abaqusTester import *
import abaqusGui
Complete all the desired actions in the Abaqus/CAE session to record them in the .guiLog file.
Note:
When you record .guiLog files, do not use mouse button 2 to close the dialog box for a procedure. Instead, use the buttons in the dialog box to close it. Using mouse button 2 adds multiple dialog box closing commands to the recorded .guiLog file. Since only one command is needed to close the dialog, the extra commands will result in an error when the recorded script is played.
Click the Stop Recording icon to stop recording.
Use standard text editing techniques to edit the file in the main window. Additional editing tools are available in the Edit menu (for more information, see Editing files in the Abaqus PDE.)
To add more recorded commands to the file, position the cursor at the desired location or click End of Main File to position the cursor at the end of the file, then repeat Step 2 through Step 4.
Select to save the file or to save the file with a new name; new files automatically use .