This section summarizes the changes and the additions that have been made to the Abaqus Scripting Interface between Abaqus 6.10 and Abaqus 6.11. SIMULIA makes every attempt to have the Abaqus Scripting Interface be backward compatible, and Abaqus can execute most Abaqus Scripting Interface scripts from previous versions of Abaqus. However, backward compatibility is not guaranteed beyond two versions of Abaqus, and it is recommended that you upgrade your commands to the most recent version.
To help you determine the status of your scripts, Abaqus displays a dialog box listing the deprecated commands when you execute the script from the main menu using FileRun Script. You are advised to upgrade scripts that contain deprecated commands as soon as possible. To obtain the upgrade utility provided with the Abaqus release, type the following command at the system prompt:
abaqus fetch job=upgradeScript.pyTo run the upgrade utility:
abaqus python -m upgradeScript [options] scriptName [scriptName ...]scriptName can be either a file or a directory. The options for the upgrade utility are:
-fileNames fileName Read a list of file names from the file specified.
-searchSubdirectories Search any subdirectories (if any of the script names are directories). By default, subdirectories are searched.
-logfileName logFileName Specify the name of the log file.
-backup Whether to make backup versions of the upgraded files. By default, no backup versions are created.
-preview Preview the changes to the file instead of changing the file.
-diffExecutable application The application used to display the differences between the script and the upgraded script. By default, the differences are displayed by a web browser.
abaqus python -m upgradeScript -preview tireSlip.py tireWearwould preview all of the upgrades to the tireSlip.py script and to all of the scripts in the tireWear directory.
More options are available if you use the upgradeScript method in an Abaqus Scripting Interface script to upgrade your scripts. For more information, see “Upgrade script commands,” Section 52.10. In addition, an Abaqus plug-in is available that provides a graphical interface to the upgradeScript method. For more information, see “Upgrading a script,” Section 82.5 of the Abaqus/CAE User's Manual.
Alternatively, you can run the following upgrade utilities from the command line interface. The same options are available as for the upgradeScript function.
The upgradeScript6M_6N utility allow you to upgrade a kernel script from one version to another (where M and N are two-digit minor release numbers); for example,
abaqus python –m upgradeScript609_610 filenames
The upgradeGuiScript6M_6N utility allows you to upgrade a GUI script from one version to another; for example,
abaqus python –m upgradeGuiScript609_610 filenames
In the following list of modified commands, the full path to the method is listed along with the required and optional arguments. Arguments enclosed within angle brackets, “< >”, are optional arguments. The syntax of the commands is as follows:
You can click on a method to view its description in the command reference. Refer to the Abaqus 6.10 Scripting Command Reference manual for a description of methods that have been removed.Abaqus/CAE Display Preferences commandsAbaqus/CAE Display Preferences commands are new in Abaqus 6.11.
Adaptivity commandsNo changes.
Amplitude commandsAnimation commandsNo changes.
Annotation commandsNo changes.
Assembly commandsBasic geometry commandsBeam section profile commandsNo changes.
Boundary condition commandsCalibration commandsCalibration commands are new in Abaqus 6.11.
Canvas commandsNo changes.
Connector commandsNo changes.
Constraint commandscustomKernel moduleNo changes.
Datum commandsNo changes.
Display Group commandsNo changes.
Display Options commandsEdit Mesh commandsEngineering feature commandsFeature commandsField commandsFilter commandsNo changes.
History and Field Report commandsNo changes.
Interaction commandsJob commandsLoad commandsLoad Case commandsNo changes.
Material commandsMdb commandsNo changes.
Mesh commandsMessaging commandsNo changes.
Miscellaneous commandsNo changes.
Model commandsNo changes.
Odb commandsOdb Display commandsOptimization commandsOptimization commands are new in Abaqus 6.11.
Part commandsPartition commandsNo changes.
Path and Probe commandsPlot Options commandsPlug-in commandsNo changes.
Predefined Field commandsPrint commandsNo changes.
Property commandsNo changes.
Region commandsSection commandsSession commandsSketcher commandsNo changes.
Step commands (step)Step commands (miscellaneous) Step (output) commandsText Representation commandsNo changes.
Utility commandsNo changes.
View commandsNo changes.
XY commands