I need to populate a dropdown list with all the scene cameras. Which that part is simple.
But the problem I'm coming across is if someone creates a camera after the dialog has been opened. What do you guys thing would be the best way to re-populate the dialog?
My first thought is a selection callback function.
Here is the base of the script so far.
( camArray = for i in cameras where superclassof i == Camera collect i.name rollout drop_roll "Drop Down List" ( dropdownlist obj_dd "Objects :" offset:[0,-20] items:camArray ) createDialog drop_roll )