
JokerMartini
- 241 public contributions
- Member since
- Latest contribution Mar 2026
heirarchy to array
I want to select the top most parent and then run through its children putting them all into an array.
Forum topic
2 commentsselection prefix
I want to select objects based on their name. Example: I have a master control called "Bunnies_ctrl" I have 3 helper objects called "Bunnies_helper" I have 3 helpers objects called "Bunnies_temp" First how do I collect the prefix of the…
Forum topic
4 commentsAbsolute World Pivot position
How can I get the values for the pivots active position. For example. I have a pivot with its pivot at 0,0,0. When I select an edge in subobject mode the pivots position then changes to 0,10,0. These values can be seen at the bottom of the…
Forum topic
3 commentsHour calculation
How could i figured out the total hours taking the start time which would be created using print localTime as string "4/12/2011 10:11:18 AM" and find the difference in hours from star to end. start = localTime as string end = localTime as…
Forum topic
3 commentsbutton width Action
can't get this to work. I want to change the width of a button in the dialog when it is pressed. try(Destroydialog rlTest)catch() rollout rlTest "test" ( checkbutton ckbtnObjID "Obj ID" width:87 height:24 pos:[5,5] button btnObjIDRandomAll…
Forum topic
2 commentsvisibility key problem
When I run this code it creates a key at the proper frame. But when I create a second key it changes the value of the first key....? ( fn fnAddVisKey Obj Val = ( VisTrack = obj.visibility.controller with animate on ( newKey = addNewKey…
Forum topic
2 commentsQsorting by Position
I've got the sorting by position figured out. But then how do I sort them in relation of there pos compared to the "start object position" and then alter the objects wirecolor, in order based on there position? positions = for i=1 to…
Forum topic
1 commentCheck State
I have a script where I need to have a check state running through every object in the selection and if any of the objects are being used as a variable then DO NOT run the script. This is what I have so far and it is not right. Because if…
Forum topic
4 commentsViewport Lighting
Is there a script out there that I could have constantly running in the background to turn off viewport lighting. I want default lighting. I turn it off all the time and once i maximize or change the active viewport it automatically turns…
Forum topic
0 commentsIK Solver
I can’t seem to find much on the IK Solver rollout properties in the help file for maxscript. I want to disable the End Effector Display and then also pick a Swivel angle,pick target, and possibly adjust the Parent Space to IK Goal/Start…
Forum topic
0 commentsHelpers through Hierarchy
Need to some help here. This code creates point helpers through a hierarchy of helpers. Setup: Create some point helpers and then make it branch out into 3 other helpers, like a hand for example. Link them all up and then select the top…
Forum topic
0 commentsDelete NoteTrack of $ Obj
Delete note track of a selection of object or objects.
Forum topic
1 commentForLoop parent to previous
So I have a loop function that runs 4 times. Each time it runs it creates a box incrementally moving it along the x axis. How could I make the loop link to the box previously created in the loop?
Forum topic
1 commentPrint/Format selected Obj's
With the code below I get his result. "name:Point01 pos:[5,5,5] rot:(quat 0 0 0 1) wirecolor:red" but I want this to be the result. name:"Point01" pos:[5,5,5] rot:(quat 0 0 0 1) wirecolor:red The scene setup is just having a selection of a…
Forum topic
5 commentsMax Nub
Forum topic
0 commentsSave incremental with 3 digits???
This script works great so far I just want to make it save foo_001.ax instead of what it does now which is foo_1.max fn CopyRenderToClipboard = ( local RImage = getLastRenderedImage() files = (getFiles (maxFilePath + "\\Renders\\" +…
Forum topic
4 commentsFinding First Key
I'm trying to find the keyframe of the first key for a selection of objects. This is what I have so far and it's chucking up a few errors. Figured I would get some other eyes on this. if selection.count >= 1 then ( for i=1 to…
Forum topic
4 commentsKey Time Scale
I would like to scale time of the selected keys. For example. I have a sphere with position keys on it. 2 keys which move the sphere along the x axis. I would like to take the keys on that object and scale them time wise 50% without having…
Forum topic
2 commentsList Animatable/Keyable Tracks in Listview
Is there a way to list the available animatable/keyable tracks in a listview of the select obj. Example 1: A box is selected with a bend modifier on it. The tracks showing in the listview would be the scale, position X Y Z and rotation X Y…
Forum topic
0 commentsRender Element Output
I just want a simple script that takes the current save location of the "Render Output" and updates all the render elements to the same location.
Forum topic
2 commentsGenerate Spikes/Thorns
A script that would take a selection of polygons and randomly extrude/create thorns. For example a rose stem.
Forum topic
3 commentsAnimating Cameras DOF
Need some advice and testing before doing final posting. Thoughts everyone? --Bugs --Delay only affects DOF Keys --Delay does not offset each individual key properly in frames --Needs to place a key at 0 even though there is an delay value…
Forum topic
0 commentsDistance Between Two Objects
I would like a way to find the distance between two objects. What is the best way to go about doing this through maxscript? Using the measuring tool, getting the distance value between the two objects and then deleting it? Thoughts. Thanks.
Forum topic
1 commentDistance Between Two Objects (Automate Camera's Focal Point)
I would like a way to find the distance between two objects. What is the best way to go about doing this through maxscript? Using the measuring tool, getting the distance value between the two objects and then deleting it? Thoughts. Thanks.
Forum topic
2 comments