ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
rollout drop_roll "Drop Down List"(
local obj_array = #()
button updt "update" offset:[10,0]
dropdownlist obj_dd "Objects :" offset:[0,-20] items:#()
fn update_objs =
(
obj_array = objects--as array
obj_dd.items = for i in obj_array collect i.name
)
on drop_roll open do update_objs()
on obj_dd selected i do select obj_array[i]
on updt pressed do update_objs()-- update list, if object has been deleted or added again in scene)
createDialog drop_roll
Comments
This is a great help ;)
This is a great help ;)
check this.. :) rollout
check this.. :)