Friday, December 25, 2009

Free Maxscript "Scene Selector V 1.0"

----------------------------------------------------------
utility scsel "Scene Selector V 1.0"
(--start utility
group "Detect all object By: " (
button selrenoff "Render Off" width:100
button selst "See-trough" width:100
button selbm "Display as box" width:100
button selwc "PICK wirecolor" width:100
button ab "?" width:20 )
on selrenoff pressed do
(try ( objx_rend_array = #()
for i in $* do ( if ( i.Renderable == off ) then append objx_rend_array i)
undo on select objx_rend_array
format "Select object Render Off. DONE!!\n") catch ())
on selst pressed do
(try ( objx_xrey_array = #()
for i in $* do ( if ( i.xray == on ) then append objx_xrey_array i)
undo on select objx_xrey_array
format "Select object See-trough. DONE!!\n") catch ())
on selbm pressed do
(try ( objx_box_array = #()
for i in $* do ( if ( i.boxmode == on ) then append objx_box_array i)
undo on select objx_box_array
format "Select object Display as box. DONE!!\n") catch ())
on selwc pressed do
(try ( obj = pickobject prompt:"Pick object master wirecolor!."
clearSelection()
obj_wc_array = #()
for i in $* do (if ( i.wirecolor == obj.wirecolor ) then append obj_wc_array i)
undo on select obj_wc_array
format "Select similiar wirecolor. DONE!!\n") catch ())
on ab pressed do
Messagebox "Scene Selector V 1.0 by Budi Gunawan - Oct 2005
"
)--end utility

----------------------------------------------------------
-----------------------------------------------------------------------------------------------------
copy
the script on top (Red note)...

Install:
Running 3D max..
paste the script to new maxscript dialog,
evaluate all or CTRL+E..., find tool script in utilities panel maxscript.

alternatif : save script by name "Scene_Selector.ms" into folder startup max..
This script will appear when running max , find tool script in utilities panel maxscript.


display "Scene Selector V 1.0" (test on max 7)

























USAGE:
Push some button, this will automatic selecting objects on your scene by category : Render Off, See-trough, Display as box dan PICK wirecolor..


Have fun and Enjoy it.. !! :)

No comments:

Post a Comment