Hey Everyone!
This week I’ve got a great episode that goes into how you can create floating dialog windows for your MaxScripts. I’ll even go into how you can create a “Random Selection” utility in MaxScript. Hope you enjoy it!
Hey Everyone!
This week I’ve got a great episode that goes into how you can create floating dialog windows for your MaxScripts. I’ll even go into how you can create a “Random Selection” utility in MaxScript. Hope you enjoy it!
By HTC January 28, 2010 - 2:37 am
??????????? ??????? ????? ??????
By ????? February 3, 2010 - 8:57 am
???????-?? ??????? ???? ? ????? ?????. ????? 🙂
By dkhan October 27, 2010 - 5:50 am
I was wondering if you have a script for box being brokenup and developed into a shape and then comes back to its original form as box so that we can see the animation of box being deveoped and coming back to its original shape!
Thanks for your help.
By payam October 17, 2011 - 8:59 pm
عالی بود لطفآ بیشتر آموزش maxscript قرار بدید
“more tutorial maxscript”
profect tanks
By Michael February 27, 2013 - 7:37 pm
I’m currently using 3DS Max 2013 and am new to maxscripts. I just did this tutorial but am having issues with the append while the “Use Current Selection” box is checked. Also for maxscripts does both python and c# work, or does one have an advantage over the other, in regards to game industry (c#) vs movie/tv (python)?
Rollout:MyRandomSelectionTool
true
— Error occurred in obj loop; position: 319; line: 13
— Frame:
— ObjArray: undefined
— obj: $Box001
— called in GetRandom.pressed(); position: 319; line: 13
— Frame:
— objArrary: #()
>> MAXScript Rollout Handler Exception:
— No “”append”” function for undefined <<
My script is as follows:
rollout MyRandomSelectionTool "Random Selection"
(
checkbox UseCurrentSelection "Use Current Selection"
button GetRandom "Get Random"
on GetRandom pressed do
(
if UseCurrentSelection.checked then
(
ObjArrary = #()
for obj in selection do
if (random 0 1) == 1 do
append ObjArray obj
clearselection()
select ObjArrary
)
else
(
clearselection()
for obj in objects do
if (random 0 1) == 1 do
selectmore obj
)
)
)
createdialog MyRandomSelectionTool