|
|
|
|
|
by rguetzkow
1844 days ago
|
|
I have never developed a plugin for Maya so I cannot compare the two, but this statement confuses me: > I was always amazed at Maya's basic architecture: Every UI action maps to a command that is run by the interpreter. That is pretty much how it works in Blender. All the buttons and properties in the UI are accessible through the Python API. |
|
Yes, it seems that way, and I was hopeful at first. But then I tried to use it.
In Maya, you can just copy paste a command from the command window, and it will work.
When you do that in Blender, it will probably give you an unspecific error message like "not possible in the current context". Because you need to manually switch Blender e. g. from Object mode to Edit mode (Faces), and your command only works in that context. So you develop a script that works initially, but later you find that it only works if Blender is in a certain state. That state is nowhere documented, you have to guess what it wants.
While Maya uses arguments to commands, Blender uses the equivalent of global variables.