0
$\begingroup$

I keep getting the context is incorrect error and the error is: Operator bpy.ops.wm.alembic_import.poll() failed.

I have tried all the solutions shared in this post and in the official documentation and the issue still persist.

I am running this command:

bpy.ops.wm.alembic_import(filepath=meshPath, as_background_job=False)

Thanks!

$\endgroup$
2
  • $\begingroup$ This caused by calling operator form console or text editor. Here is some sumular cases blender.stackexchange.com/a/135995/23459, blender.stackexchange.com/a/6105/23459. The simplest solution is to create your own operator (blender has templates), register it and call from search (F3) menu. $\endgroup$ – RUben Oct 3 '19 at 8:07
  • $\begingroup$ Even if you don't get an answer, please don't ask the same question multiple times. $\endgroup$ – Ray Mairlot Oct 3 '19 at 11:33