Download ABAQUS Scripting User's Manual
Transcript
THE ABAQUS OBJECT MODEL
odb
rootAssembly
parts
sectionCategories
steps
frames
= Container
= Singular object
fieldOutputs
historyRegions
historyPoints
historyOutputs
Figure 6–5
The Odb object model.
line interface. When you press the [Tab] key, the command line cycles through the parts in the model.
When you press [Shift]+[Tab], the command line cycles backwards through the parts in the model.
Tab completion also searches the file system when it detects an incomplete string. For example,
from part import THR[Tab]
from part import THREE_D
openMdb('hinge_t[Tab]
openMdb('hinge_tutorial.mdb')
from odbAccess import *
myOdb=openOdb('vi[Tab]
myOdb=openOdb('viewer_tutorial.odb')
In most cases when you type in a constructor or a method and include the opening parenthesis, tab
completion prompts you to provide a value for a keyword argument. For example,
mdb.models['Model-1'].Part([Tab]
mdb.models['Model-1'].Part(name=
When you press the [Tab] key, the command line cycles through the arguments to the method.
You can use tab completion when you are accessing an output database. For example,
p=myOdb.parts[[Tab]
p=myOdb.parts['Part-1']
You can also use tab completion when you are accessing an output database from the ABAQUS Python
prompt. For example,
abaqus python
6–6