No, Not for creating lights in Maya.
That's actually MtoA, not Arnold, and in this case the distinction is important.
If you really want to dig into how MtoA creates the nodes in a Maya scene, you can start with C:\solidangle\mtoadeploy\2017\scripts\mtoa\ui\arnoldmenu.py
That's the code for the Arnold menu, including the Arnold > Lights menu. But it's not an API, so it's not designed for public use.
Arnold itself is a rendering library with a C++ API. And that API has Python bindings, so you can create Arnold lights using the Arnold Python api.
But that's not what happens inside Maya. Inside Maya you have the MtoA plugin creating Maya nodes (eg a locator for an area light)
@yesthatjohn wrote:
Are there Python commands to create lights in Arnold? I found the arnold module, but I don't see any commands related to lights. Does anyone have resources to learn how to do this stuff? Any help appreciated.
// Stephen Blair
// Arnold Renderer Support