Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python API Create a skyDomeLight

1 REPLY 1
Reply
Message 1 of 2
adambenson.vfx
1198 Views, 1 Reply

Python API Create a skyDomeLight

I'm working on a tool that needs to create HDRI skydome lights for various render engine, one of which is Arnold. The API does not seem to have very solid documentation, or it is difficult to find.
I need a way to dynamically create an aiSkyDomeLight from a Python script. I need to create the SkyDomeLight and connect an HDRI file to it. How can I achieve this from python mtoa?

Thanks in advance.

Tags (2)
Labels (2)
1 REPLY 1
Message 2 of 2

There's no public API, but you could just do the same thing that we do in scripts\mtoa\ui\arnoldmenu.py



// Stephen Blair
// Arnold Renderer Support

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators