Skip to content

Instantly share code, notes, and snippets.

View blenderdeluxe's full-sized avatar
❤️
I love programming

Diego Cortés blenderdeluxe

❤️
I love programming
View GitHub Profile
global proc updatePhotometricLights(string $filePath) {
// Encuentra todas las luces fotométricas en la escena
string $photometricLights[] = `ls -type "aiPhotometricLight"`;
// Actualiza el atributo 'Photometry File' para cada luz
for ($light in $photometricLights) {
setAttr ($light + ".aiFilename") -type "string" $filePath;
}
}