4 ms·
The comment above is more of an explanation of how this currently works in Blender and how one can approach the aforementioned challenge. I do agree that the P
by rguetzkow 5y ago
The comment above is more of an explanation of how this currently works in Blender and how one can approach the aforementioned challenge.
I do agree that the Python API is often just a thin wrapper around the C/C++ code [0] and that the documentation of the required context for operators is a bit lacking for people who are not familiar with Blender's implementation. This is also acknowledged in the API docs [1]. However, I do think the API is quite usable and not particularly complicated to understand.
[0] https://docs.blender.org/api/current/info_gotcha.html https://docs.blender.org/api/current/info_gotcha.html
[1] https://docs.blender.org/api/current/info_gotcha.html#why-does-an-operator-s-poll-fail https://docs.blender.org/api/current/info_gotcha.html#why-do...