3DsMax/plug-in&scripts

랜덤 선택 스크립트

biped 2016. 5. 7. 10:56

rollout Rand "Rand" width:170 height:75
(
button btn1 "Random" pos:[80,20] width:75 height:35
spinner spn1 "%" pos:[15,30] width:45 height:16 range:[1,100,50] type:#integer scale:1
Local ArrSelect=#()

on btn1 pressed do
( ArrSelect=#();
ArrSelect = selection as array;
max select none;
for i=1 to arrSelect.count*spn1.value/100 do (
a=random 1 arrSelect.count
selectmore arrselect[a]
)
)
)

CreateDialog Rand




출처:  https://www.youtube.com/watch?v=IEx0JsWFr6Y





● RandomDeSelect

http://www.scriptspot.com/3ds-max/scripts/randomdeselect


- Rate (%) : 선택할 오브젝트의 양

- When Select or Append : 레이어 안에서의 오브젝트 선택

- Selected : rate % 만큼 선택

- DeSelect : 선택된 오브젝트들중에서 rate % 만큼 선택해지

- Append to Selection : 선택된 오브젝트들 외의 나머지를 추가로 선택. (Non-selected 를 체크시 rate % 만큼 추가로 더 선택됨)





● Mass Randomizer

http://www.ardakutlu.com/scripts.html

http://www.scriptspot.com/3ds-max/scripts/mass-randomizer






● Random operations

http://www.scriptspot.com/3ds-max/scripts/random-operations




● Object Randomizer v3

랜덤으로 위치,스케일,회전 시켜줌

http://www.scriptspot.com/3ds-max/scripts/object-randomizer-2011-05-06






● Random Master 

http://km-3d.com/produkt/random-master-script/

https://youtu.be/-9xGo9OMjJU