Ewok
- 19 public contributions
- Member since
- Latest contribution May 2012
Highlight selected object in Layer Manager
Forum topic
Hi all, I'd like to know if anyone has an idea how to to the following thing After having selected an object in the animation viewport I would like this object to be highlighted in the Layer Manager in order to find it more rapidly. In the…
2 commentsOpen Dopesheet via Maxscript
Forum topic
Hi All, does anybody know how to modify this command TrackView.Open "TestTrackview" in order to open the Dopesheet instead of the Curve Editor? Many thanks in advance. Bye
0 commentsCreate Named Selection Set for Edit Poly Modifier
Forum topic
Hi I'm able to create a named selection set for an Editable Poly: k = #{1..3, 5..7} appendSubSelSet "SelSet01" $.Faces["SelSet01"] = k But I'm completely lost when trying to do the same thing for an Edit poly Modifier. Does anyone have an…
4 commentsGet Name of Array and append it to another Array
Forum topic
Hi, I would like to know if it is possible to get the name of an array and to append this name itself to another array. In my example: have an array called "Top": Top = #{858..859, 2022..2024, 2050..2052, 2070..2076, 2078} What I would…
3 commentsGet Visibility Track
Forum topic
Hi, I'm using $.controller $.modifiers to get the object's controllers and modifiers. But, unfortunately it doesn't show me the visibility track I added to my object. Does the visibility track belong to another group than controllers or…
3 commentsNudge Keys Command
Forum topic
Hi, I'm looking for the MAXScript command that allows nudging key as the Keyboard shortcuts "Left Arrow" and "Right Arrow" do. I would like to be able to use them to be able tu nudge the selected keys in the normal timeline. Does anyone…
0 commentsPress Button by Script
Forum topic
Hi all, I am able now to press a button via a script. The only problem is that I don't succeed to click the button I want. In my example I create a box: Box lengthsegs:1 widthsegs:1 heightsegs:1 length:20 width:30 height:15 mapcoords:on…
1 commentPress Button by script
Forum topic
Hi, I've a simple question. I would like to simply press a button. But something is going wrong. In my example I try to press the "Select and Move" button by using this line of code: UIAccessor.PressButtonByName 67616 "Select and Move" As…
5 commentsCAT - Get Real World Rotation of first Limb
Forum topic
Hi All, I'm struggeling with a confusing phenomenon in a CAT Rig. I create a new CAT Parent using the 'Base Human' Rig, create a new Absolute Animation Layer and activate Animation Mode. Then, I select one of the forearms and type the…
0 commentsCAT "Match IK and FK" via script
Forum topic
I'm looking for the command to trigger the CAT function "Match IK and FK". I found the command for "Move IKTarget to Palm" which is: $[3][1].MoveIKTargetToEndOfLimb() But I don't find it's counterpart. Does anyone have an idea?
1 commentArray - Remove redondant values
Forum topic
I'm struggeling with an array containing several times the same values. MyArray = #(1,2,3,1,2,3,1,2,3) Does anyone know how to filter the redondant values in order to get: MyArray = #(1,2,3)
2 commentsFormat: Get rid of #{...}
Forum topic
Hi, I don't figure out how to change the format of #{141} to simply 141 in order to be able to use it in a script like this: a = #{141} b = 1 c = a + b Does anyone know how to do this? It is certainly very easy to do. But I don't find it.…
4 commentsGet class of a modifer
Forum topic
I execute a simple action by script. I have an object with an 'Edit Poly' modifier on it and the script bevels the selected polygons of the modifier: $.modifiers[#Edit_Poly].SetOperation #Bevel $.modifiers[#Edit_Poly].bevelHeight = 3…
3 commentsGet Key's Controller
Forum topic
I'm trying to get the name of the controller to which belongs a key. In my example I select an object in my scene and run the script. c = bezier_position () -- create and assign new controller $.pos.controller = c k = addNewKey c 15f The…
0 commentsDirectory Syntax Problem
Forum topic
I would like to launch a .txt file with a notepad via a script. There must be a little syntaxe problem in my file path, but I can't figure it out: logfile="my_log.txt" openLog logfile outputOnly:true "hello" closeLog logfile…
1 commentOpen MaxScript Listener via Script
Forum topic
Hi a have an easy question, that I don't find the answer anywhere. What is the MaxScript command to open the MaxScript Listener via a script? Thank you in advance, Ewok
2 commentsInsert Animation Key without deforming curve
Forum topic
Hi, I would like to know if anyone knows if there is a way to insert keys to an animation curve without deforming it. In my example the cube simply moves from its position at frame 0 to the new position at frame 30. (mybox = box width:5…
2 commentsMaxScript Listener - Intercept every action
Forum topic
Hi, I would like to know if it is possible to incercept any action the user does in 3DSMax in order to easily use the code in a script. The MaxScript Listener doesn't intercept every action, e.g. when you move an animation key in the time…
0 commentsUnable to convert: [] to type: Float
Forum topic
Hi, I'm really new to 3DSMax scripting and I have a real beginner question. My problem is that I can't figure out how to convert a value into a Float. In my example I created a 2 lines ms script: x = [0.5,0.5,0.5] x as Float That's all.…
11 comments