Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Replace AttributeError: Calling operator "bpy.ops.export_scene.obj" error, could not be found #199

Open
pishah opened this issue Dec 27, 2023 · 1 comment

Comments

@pishah
Copy link

pishah commented Dec 27, 2023

Python: Traceback (most recent call last):
File "C:\Users\incen\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-2_0_0\exporter.py", line 2235, in execute
export_as_replace_mesh(self.filepath)
File "C:\Users\incen\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\cc_blender_tools-2_0_0\exporter.py", line 2123, in export_as_replace_mesh
bpy.ops.export_scene.obj(filepath=file_path,
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\bpy\ops.py", line 109, in call
ret = _op_call(self.idname_py(), kw)
AttributeError: Calling operator "bpy.ops.export_scene.obj" error, could not be found

@pishah
Copy link
Author

pishah commented Dec 27, 2023

For more context, using Blender 4.0.2. When searching Google I found an article that said bpy.ops.export_scene.obj no longer exists and to use bpy.ops.wm.obj_export(). I tried to replace the code in the PY file but I couldn't get it to work. I wish I knew more about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant