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 insert photometric light

I'm trying to insert through maxscript some photometric lights but I can't understand where I should write the path for the ies file. looks like the parameter ".webFile" is encrypted, it gives me values like this one…
sillo18
  • 11
  • 2
1
vote
3 answers

Getting a selection in 3ds Max into a list in Python

I am writing in Python, sometimes calling certain aspects of maxscript and I have gotten most of the basics to work. However, I still don't understand FPValues. I don't even understand while looking through the examples and the max help site how to…
Ennio Sialiti
  • 11
  • 1
  • 2
1
vote
1 answer

Maxscript / Python command list

I wanted to continue from this topic - but it already has been closed. I am not a programmer - I'm more of a basic technical artist who needs simple automatable (is that even a word?) tasks scripted down for the purpose of convenience. Back when I…
1
vote
1 answer

increasing channels of morpher modifier with maxscript?

I am working now on rigging a face character and therefore I am made for that more than 100 morphers, but the morpher modifier does not add more than 100, so please answer me, how can i increase channels of morpher modifier in maxscripts?
mamitha
  • 11
  • 3
1
vote
2 answers

MAXScript: write numbers to file in full precision?

I'm looking for a way to make 3ds Max to write values to a file in their full precision? I realize Max uses 32 bit floats in its internal representations but the values it outputs to files usually seem to be of slightly lower precision. The only…
shoosh
  • 76,898
  • 55
  • 205
  • 325
1
vote
1 answer

How do I fix a 3DSmax MAXscript Auto load error?

I can't fix this problem during 3DS Max installation: MAXscript Auto load Error "$startupScripts\\vraytutils.ms" Does anyone know how to resolve the error?
user9005553
1
vote
1 answer

How to calculate Bone Length in 3Ds Max

I am creating a script to help me speed up my rigging workflow. I am trying to create an automatic size adjustment for helpers that I am assigning to bones. That way longer bones will have larger helpers and smaller bones smaler helpers. I decided…
lootin
  • 13
  • 2
1
vote
1 answer

obj export in MaxfilePath

I can't english well:( I made funtions FBX Exporter and OBJ Exporter. fn FBXexport = ( local MaxSave = getFilenamePath maxfilename + "\\" + getFilenameFile maxfilename + ".fbx" local plug = findItem exporterPlugin.classes FBXEXP …
JIINY
  • 71
  • 5
1
vote
2 answers

Setting FOV in Maxscript

I am fairly new to Mascript and Autodesk - I have a simple script, that places a camera and I want to change the FOV, horizontally and vertically. I am using the example provided from Max-Script Documentation, and my script looks like the…
Kev1n91
  • 3,553
  • 8
  • 46
  • 96
1
vote
1 answer

Wind scaling in Maxscript

I'm trying to write a script in 3ds max, which creates smoke animation. I recorded the process of creating the scene and I have a problem to recreate it by script. I want to set wind parameters: select $'Smoke wind' $.frequency = 0.78 $.turbulence =…
Kamila O
  • 300
  • 2
  • 8
1
vote
1 answer

Dot product with local axis in maxscript

If i need to select some polygons perpendicular to a specific axis (say x, which is [1,0,0] I'm doing a dot product like that axis = [1,0,0] normal = polyOp.getFaceNormal $ 1 result = dot normal axis Where 1 is the face I need to check. If the…
Muteking
  • 1,465
  • 5
  • 18
  • 31
1
vote
1 answer

Does -mxs command line switch always close 3DSMax?

I’d like to run a very simple script command through the command line, and the -mxs switch appears to do exactly that. However, everytime I use it 3DSMax 2011 automatically shuts down afterwards. Whether I use the quitMax call or not. Is there…
EnderJSC
  • 11
  • 1
1
vote
1 answer

Map face and face relationship in MaxScript

I know that single vertex can be assigned to several map verticles and vice versa. But, does the faces and map faces has 1:1 relationship? I mean, assuming that mesh uses only map channel 1: local facesCount = polyOp.getNumFaces ePoly for f = 1 to…
PolGraphic
  • 3,233
  • 11
  • 51
  • 108
1
vote
0 answers

Find drive/partition with maximum free disk space using Windows command

I have no clue about Windows programming hence here's what I am trying to do. I am currently writing a script in 3DS Max which can run Windows commands internally using max script. Here's the list of things I am looking to do using Windows…
1
vote
1 answer

maxscript to automate rgb color conversion to gamma 2.2?

basically, I have many old 3d models, with materials made on a 1.0 gamma environment, and everytime I want to use one of them I have to manually convert all colors to match a 2.2 gamma equivalent. the formula I use is 255*((old/255)^2.2), based on a…