wk860331 发表于 2013-6-6 11:19:10

abaqus py文件运行时 出现key error是什么意思

mdb.models['Model-1'].ConstrainedSketch(gridSpacing=1.68, name='__profile__', sheetSize=67.36, transform=mdb.models['Model-1'].parts['scarf'].MakeSketchTransform(sketchPlane=mdb.models['Model-1'].parts['scarf'].faces, sketchPlaneSide=SIDE1, sketchOrientation=RIGHT, origin=(16.83, 0.62, 0.0)))
mdb.models['Model-1'].parts['scarf'].projectReferencesOntoSketch(filter=COPLANAR_EDGES, sketch=mdb.models['Model-1'].sketches['__profile__'])

错误:
#* KeyError: scarf
#* File "2d-scarf.py", line 29, in <module>
#*   mdb.models['Model-1'].parts['scarf'].Set(faces=
页: [1]
查看完整版本: abaqus py文件运行时 出现key error是什么意思