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
0
votes
2 answers

Maxscript and Excel: retrieving/changing a cell's value

I'm trying to access a single cell's value via maxscript and I've been having quite a bit of difficulty figuring out what exactly is keeping me from doing so. Here's what I have in maxscript: -- Startup Ops -- Generate a filename excelFile = "
KDhyne
  • 126
  • 1
  • 1
  • 14
0
votes
1 answer

Accessing the changed state of a radio button using rollout creator (Maxscript)

I've run across another issue using the dynamic rollouts. I'd like to add a handler for when a radio button group's selection is changed. Here is what I have: --Instantiate a new dynamic rollout object dro = rolloutCreator "CustomParamsRollout"…
KDhyne
  • 126
  • 1
  • 1
  • 14
0
votes
1 answer

Maxscript error: group requires a node or node collection

I've been working in Maxscript for about 3 months now, so I am fairly new, and i recently came across the ability to execute strings inside of ms files like so: str = "print \"hello\"" execute str The Max Listener would then output "hello", as you…
KDhyne
  • 126
  • 1
  • 1
  • 14
0
votes
1 answer

Maxscript with modfiers

From creating a cube the following code should select the top two triangles, invert that selection and then delete those newly selected faces. So far so good. However, I seem to run into trouble when there’s a modifier (or more) on the base…
Ghoul Fool
  • 6,249
  • 10
  • 67
  • 125
0
votes
1 answer

Why am I getting weird vertex position values in MaxScript

I am trying to write a simple mesh exporter in maxscript. It's nothing fancy, it just has to export faces, vertices and tvertices. I have the code as good as working, but sometimes I get really weird values in vertex positions (-1.1234e-005 for…
Kevin
  • 2,739
  • 33
  • 57
0
votes
2 answers

Maxscript label string

The code below work fine, only I want to dynamically change the label text before the rollout is created, not afterwards. I'm trying to pass a variable (rolloutlabel) as a string in the rollout, only I can't seem do that without having to code…
Ghoul Fool
  • 6,249
  • 10
  • 67
  • 125
0
votes
2 answers

Maxscript Animated "Firework" script animation stuck

I have created the following script to generate "fireworks" (term used loosely) as directed my tutor. It is based on skeleton script that I MUST use. There are spinner to control certain parameters, however for the life of me I can not figure out…
-1
votes
1 answer

Can I know the hwnd value of the Link Info button of Hiearchy?

In max script, I want to make the Link Info button on the Hiarchy panel pressed. I used the getchildhwnd function etc, but I couldn't find the hwnd value. Is there a way to know the hwnd value of the link info button, or to make the link info button…
KCH
  • 1
-1
votes
1 answer

Import-Export script

Can you please help me with creating a script which imports and export list of files? Let's say i've got a list of .nif or .fbx model filepaths, i need the script to import and then export file and proceed next filepath in the list.
user78430
  • 15
  • 3
-1
votes
1 answer

Convert c# tcp socket codes to 3ds max maxscript language

I am working a project need to convert a TCP socket codes to maxscript,with my knowledge,it is hard for me to convert it,does anyone can help me to finish it,thanks in advance! Here is the code for c# works well in console mode: Server code: using…
momo
  • 1
  • 1
-1
votes
1 answer

MaxScript - Spline Smooth?

I tried to make this script in 3dsmax 2017 using listener but it does not record just that action for spline - smooth (like in the screenshot). When I select subobject level - Vertex, and select all, then I right click and choose smooth, , I got…
Stef
  • 3
  • 4
-1
votes
1 answer

How to draw a honeycomb, consisiting of "mercedes"-like elements?

What is the best way to build a 3D honeycomb-pattern in 3ds max (by means of maxscript), consisting of simple elements (like is shown in the picture). Each element is a 'mercedes-logo'-like shape. Each element is not sewed to the adjacent ones.
-1
votes
1 answer

Need universal solution for importing/exporting fbx externally with 3ds Max

I'm working on a toolbox and come to notice that we don't have a very versatile solution for importing/exporting fbx to/from max externally. For max it's pretty hard to pass parameters directly through command line (or impossible? as I haven't…
-1
votes
1 answer

For loop not running as intended

Why is this giving me the value of `front_post_count = 3.0 instead of 4.0 ? canopy_length=10000 front_post_count=ceil(canopy_length/3500)+1 for i=1 to front_post_count do ( print(front_post_count) )
Amit Singh
  • 63
  • 8
-1
votes
1 answer

Digital Asset management framework

I am planning to make a very simple asset management system for 3ds max. This is how i have planned on making it. I will be making a webserver on a local network machine. Will be making a database which stores all the reference to the files stored…
Dinesh
  • 41
  • 6
1 2 3
19
20