Abaqus的Python脚本

2024-09-28 05:21:52 发布

您现在位置:Python中文网/ 问答频道 /正文

我是Abaqus Python脚本的新手。脚本中的下面一行代码抛出一个关键字错误(Type Error: Keyword error on mergeWire)。在

myPart.WirePolyLine(points = myPoints, mergeWire = OFF, meshable = ON)

在哪里

^{pr2}$

有人能帮我修一下吗?在


Tags: 代码脚本ontype错误error关键字keyword
1条回答
网友
1楼 · 发布于 2024-09-28 05:21:52

查看abaqus6.14脚本参考指南,WirePolyLine有两个参数,points和{}。mergeWiremeshable不作为参数列出。或许您应该使用:

from abaqusConstants import SEPARATE
myPart.WirePolyLine(points = myPoints, mergeType = SEPARATE)

我强烈建议您参考Abaqus 6.14脚本参考指南的第37.2.56节。在

相关问题 更多 >

    热门问题