Questions tagged [maxscript]

MAXScript is the built-in scripting language in Autodesk 3ds MAX. It can be used to automate repetitive tasks as well as develop new tools and user interfaces.

MAXScript is the built-in scripting language in Autodesk 3ds MAX. It can be used to automate repetitive tasks as well as develop new tools and user interfaces.

300 questions
1
vote
1 answer

MaxScript - object properties at specific frame

how do I get an objects transform matrix at a specific frame without setting the sliderTime to that frame?
Mat
  • 4,281
  • 9
  • 44
  • 66
1
vote
1 answer

Which Points in 3D Space form which face + Angle between faces?

How do you write a Maxscript that gets the three points needed to create a face? So you have your object, say it has 100 faces. Then the script should tell me which points form each face. Also I'd like to know the angle two adjacent faces have to…
Zurechtweiser
  • 1,165
  • 2
  • 16
  • 29
1
vote
3 answers

How to toggle "Show standard map in viewport" via maxscript?

In the slate material editor, I can right click a material and toggle "show Standard Map in Viewport". How can I toggle/set this option of a material programatically from maxscsript?
marc40000
  • 3,167
  • 9
  • 41
  • 63
1
vote
1 answer

3ds Max - maxscript button RENDERABLE properties switch on/off problem

I want to know how can a setup a button for switch the renderable properties beetwen on and off. Using the maxscript listener I can do one or another, but I can't make a script that change beetwen them $.renderable = off $.renderable = on And this…
1
vote
1 answer

pymxs alternatives to the deprecated MaxPlus utility functions

With Autodesk's removal of MaxPlus from 3ds Max, I now am having to rework some of my code, and was wondering if there is another way to access some of the MaxPlus utility functions. While I think the decision to consolidate python development…
m3trik
  • 333
  • 2
  • 13
1
vote
3 answers

Basic MaxScript GUI operations: how do I get the Enter key? How do I grey out controls?

Apologies for the kind-of unrelated questions in one, but I would like to make my MaxScript rollout/tool more intuitive by making it behave like any other GUI would be expected to. Could anyone familiar with MaxScript tell me: How do I 'disable'…
sebf
  • 2,831
  • 5
  • 32
  • 50
1
vote
1 answer

How to get arguments list for a MAXScript function

A quote from Autodesk 3DS MAX documentation: When you use something like 'fn test val = ...", a MAXScriptFunction value is created and stored in variable test. If variable test was passed into another method, for example as a filter function,…
3dmodels
  • 103
  • 7
1
vote
0 answers

ListView control in MAXScript - Error when pressing escape key with ItemMouseHover event

This problem is associated with the ItemMouseHover event handler or other mouse handlers described below. If removed, ItemMouseHover (in my case) the problem goes away. Update Here's some very basic code that throws the same error as…
Ste
  • 1,729
  • 1
  • 17
  • 27
1
vote
0 answers

How to get spline-object intersection in maxscript?

I have faced a problem in maxscript. I want to find the intersection points between spline(circle) and object in maxscript. I tried to use intersects between surface and each circle. Like this: intersects o_surface s_circle But it returns only…
Julian
  • 1,592
  • 1
  • 13
  • 33
1
vote
1 answer

How do I save Images of objects I just rendered?

I am new to scripting and I'm, trying to export objects in my scene and render images of all selected objects individually. Right now my code can only export FBX files based on whatever name my object has and can render one image. for current in…
Van C
  • 11
  • 1
1
vote
1 answer

Choose random file in Maxscript

How to choose any random file from a folder using MaxScript? files = getFiles "c:\\base\\*.max" for f in files do random (mergeMAXFile f)
Daymon
  • 11
  • 1
1
vote
1 answer

How does the MaxScript swapBytes function work in terms of bit operators?

Function Definition: bit.swapBytes Returns an integer with byte1 and byte2 of value int swapped. Byte 1 is the lowest order byte. I was looking over the documentation for bit shifting in Max Script and…
karamazovbros
  • 950
  • 1
  • 11
  • 40
1
vote
1 answer

Send a String to server with http POST

I have a maxScript that requires to send the mac address of the user to a server and check if it is included in the allowed list. I have to part fo getting the mac address and the server side is all set. the only problem is that I want it to be sent…
Henjin
  • 528
  • 2
  • 9
  • 19
1
vote
0 answers

Wire Params MaxPlus

I'm trying to work out how to wire params in MaxPlus. MaxScript: paramWire.connect obj1.transform.controller[#Position] obj2.pos.controller[#X_Position] "-Position.x" ~~ Here's what I have so far: import MaxPlus as mp Xsl = [node for node in…
Adam Sirrelle
  • 357
  • 8
  • 18
1
vote
1 answer

Maxscript: Compose Transformations

I am trying to fix an animated model with negative scales (maybe a bad idea, I know). While looking at the transforms in max script, I notice something funny, which might be connected to the internal use of the left-handed coordinate system in 3ds…
tkazik
  • 919
  • 3
  • 12
  • 27
1 2
3
19 20