View Code /*Script: Cycle_CoordinateCenterSummary:Cycles through the various coordinate center options...Local Center (pivot point), Selection Center, and Transform Center. Once assigned to a hot-key, it will advance each time you press the
fn CopyArr arr = return for el in arr collect el --------------------------- fn OptimisedArr arr = ( local newArr = #() for el in arr where (findItem newArr el == 0) do append newArr el return newArr )--其實吧數組在倒騰一下就好, 這個很經典,
/* LookAt is a script for "aiming" objects at other objects via the Look-At controller. It is designed to work with multiple objects and can modify the Look-At settings as well as remove the controller, returning it to its original state.Author:
View Code /*Basic_ListCNT is designed to set up a simple list controller set-up on all selected objects.It creates a list controller on both rotation and position with a zero track and an animation track.*/---2011.7.15 蓋天解釋---用於做動畫的時候
theFrm = dotNetObject "MaxCustomControls.MaxForm"theBox = dotNetObject "MaxCustomControls.MaxTextBox"theBox.width = 290theBox.height = 270theBox.Multiline = truetheBox.Text = "Hey Jude, don't make it bad!\r\nTake a sad song and make it
View Code /*Script: Cycle_CooridinateSpaceSummary:Cycles through the "View", "Screen", "World", "Parent", and "Local"coordinate space. Once assigned to a hot-key, it will advance each time you press the button.Author: Chris Harvey*/---2011.7.15
thePath = getSavePath() --get a path dialog to specify the pathif thePath != undefined do --if the user did not cancel(theFiles = getFiles (thePath+"\\*.max") --collect all max files in the dir.for f in theFiles do --go through all of
View Code /*DissolveEdge.ms over comes the problem of leaving the old vertices behind when you remove an edge using the edible poly command... - this should only be used on edge loops as results will be undesirable otherwise - select an edge