我在 Abaqus 中有一个包含许多分区的 2D 零件,因此我想使用 getByBoundingBox 命令选择许多边来创建一个曲面集。这是我的代码:
p = mdb.models['Model-1'].parts['Plate']
s = p.edges
edges = s.getByBoundingBox((0,0.02,0,0.003,0.04,0))
p.Surface(side1Edges=edges, name='r1')
但它给了我以下错误:“edges = s.getByBoundingBox((0,0.02,0,0.003,0.04,0)) TypeError: arg1; found tuple, expecting float"。
非常感谢任何建议。