blender中的函数bpy.ops.mesh.primitive\u vert\u add()出错

2024-03-28 14:55:26 发布

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

我在一些GitHub脚本中遇到函数bpy.ops.mesh.primitive_vert_add(),但在控制台中键入此函数时,会弹出以下错误:

 Traceback (most recent call last):   File "<blender_console>", line 1,
 in <module>   File "C:\Program Files\Blender Foundation\Blender
 2.83\2.83\scripts\modules\bpy\ops.py", line 201, in __call__
     ret = op_call(self.idname_py(), None, kw) AttributeError: Calling operator "bpy.ops.mesh.primitive_vert_add" error, could not be found

实际上,我使用的所有2.7x和2.8x版本都会出现此错误。你能提供一些想法吗

致以最良好的祝愿


Tags: 函数inpygithubadd错误linecall