I am wanting to loop through all of the parameters on certain nodes in a .ass file so I can build a name:value pair, but I'm having trouble understanding the best approach to doing this.
I'm currently using the Parameter Reader methods to query the values but this means I need to check the type up front and call the correct method. This doesn't feel like the best way from seeing the available API methods but I'm not sure how to go about it any other way.
Looping through the light nodes and iterating over the parameters for each light I'm able to get the name with AiParamGetName but I am clearly missing something obvious here to get the value!
Gelöst! Gehe zur Lösung
Gelöst von Stephen.Blair. Gehe zur Lösung
Oh right in that case I am going down the right path and thanks for the confirm on that Stephen. Sounds like I may be a little used to python holding my hand with every step ![]()
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.