Switch "Light Shape" on aiAreaLight via script in Maya

Switch "Light Shape" on aiAreaLight via script in Maya

daniel_j8FSTF
Contributor Contributor
485 Views
1 Reply
Message 1 of 2

Switch "Light Shape" on aiAreaLight via script in Maya

daniel_j8FSTF
Contributor
Contributor

In Maya is it possible to switch the "Light Shape" parameter in an aiAreaLight via script? Say from "quad" to "cylinder"? Can't find any info in about whats happening under the hood...

thx.

0 Likes
486 Views
1 Reply
Reply (1)
Message 2 of 2

Stephen.Blair
Community Manager
Community Manager
setAttr "aiAreaLightShape1.aiTranslator"  -type "string" "disk"


// Stephen Blair
// Arnold Renderer Support
0 Likes