
br0t
- 56 public contributions
- Member since
- Latest contribution Jun 2015
Syntax Error crashes MAXScript completely
Forum topic
Hi, I often found myself in a situation where I execute some code that has a small typo in it, e.g. I missed a parenthesis or forgot an " or a \ somewhere. Usually it throws an error in the listener, I correct it and everything is fine.…
3 commentsWhere does it store the *.cui path
Forum topic
Hey, I am writing something to easily port all UI stuff from one max install to another. I found out that the current .kbd, .mnu and .clr files which are loaded at max startup are stored as pathnames in the 3dsmax.ini at e.g.:…
2 commentscopy object hierarchies/controllers/userProperties e.g. like an object "deepCopy"
Forum topic
Hi, If I shift-drag a selection of objects in the 3ds Max viewport, I create a copy of them that have the same animation controllers, user properties, linked hierarchy etc. If I copy those objects with Maxscript, they are disconnected and…
4 commentsmax quick render VS render()
Forum topic
Heya, I am trying to batch render some max files using the camera inside the file, if there is one. Thats why I use render camera:theCam outputFile:outFile to start the rendering (if previously a camera has been found) and…
4 commentsBackburner makes me angry (again) because of awkward Job Submission
Forum topic
Hey, I have written a script to render a number of images, lets say 32. This is done inside a nested for loop (lets say 4 loops nested into each other). Inside the inner loop lies my max quick render command. Everything is working fine, it…
1 commentExit / Escape / Quit a running script
Forum topic
Hey, I have a script that renders out a number of images, one by one as single images, not a frame range or stuff like that. It changes some texture maps and says max quick render in the last of three nested for loops. So lets say when…
3 commentsGo up the hierarchy, get Material from Map
Forum topic
Hi, so I get all bitmaps in my scene using theBMs = getClassInstances bitmapTexture Now looping over scene objects, I want to test if e.g. theBMs[1] is part of the material applied to the current object in the loop. Is there a way to get…
2 comments3ds Max Random Splash Image Loader
Script

My colleagues at work showed me, that you can customize the image that is shown whenever 3dsmax starts, which I think is very cool. So I thought it would be great to have some variation in that image. With the random splash loader you can…
3 commentsRender Output File Dialog
Forum topic
Hey, When I click on the "Render Setup -> Render Output -> Files" button, it opens a dialog where I can choose the image file type for my rendering. I also get a "Setup" button, where I can set my image quality and stuff like bit depth and…
2 commentsAlign Object to Face + Get Face Dimensions
Forum topic
Hey, I want to select a face in an editable poly and then have my script create a new Plane at the upper left vertex position of that face, and have the Plane be aligned to the face orientation. Like so: So far I only managed to create a…
1 commentCalling "render()" or "max quick render" from a callback does not work
Forum topic
Hi, I am trying to start a new render, after rendering a series of irradiance maps. I am using this: callbacks.addScript #postRender "render_animation()" id:#finalAnimation to start my function which will then adjust some settings in the…
8 commentsdelete plugin remnants
Forum topic
Hi, I want to get rid of some remnants of plugins that I do no have on my home machine. It is geometry as well as modifiers. I kill the geometry with this: ( for o in objects where classof o == Missing_Helper do delete o ) I do so because…
2 comments"Umlaut" in strings
Forum topic
Heyho, I am loading UVs into an Unwrap modifier with maxscript, which right now only seems to be possible with a UIAccessor-Workaround, that essentially searches for the "Open"-button and presses it for me. It is slow, but still a lot…
1 commentcustom attribute listbox remembering its values?
Forum topic
Hey, I have a listbox in a custom attribute rollout, that i can add objects to by using a pickbutton. When i deselect the listbox, all the items are gone. Is there an easy way to make it remember what i added to it? Like adding a parameter…
0 commentsdo not load maps into viewport
Forum topic
Hey there, I have a script that loads a bunch of materials from a materiallibrary and assigns them to different objects in the scene. It works well, but when there are huge maps inside the materials, I get some performance problems: Max…
3 commentsimproving script performance
Forum topic
Hi, this is more a general question, but if needed I can post the scripts that I'm talking about next: I do have a script, that will look at each object in the scene that has a material, copy that material,give it the same name as the…
6 commentsget path to selected file
Forum topic
Hi, there is the "getSavePath" in Max, that lets you browse to a folder and will return that path, so it can be used to save or open files in that folder. I would like to have the same thing, but not for folders but files. So that a dialog…
4 commentsButton to start an external script file
Forum topic
Heyho, I do have an attribute holder on a control object, which has a custom attribute definition with a button in it. I would like to use the button to start up an external script file, but I cannot find out how. I need something like…
3 commentsimageCompHelper
Script

I wanted to create a script to visualize the `Rule of Thirds` inside the 3ds Max Viewport, to aid in the composition of my camera shots. Inspired by this script I also added some other overlay options. The lines inside the viewport are…
26 commentsUpdate script with callback: #selectionSetChanged
Forum topic
Hi, I want to make my script recognize any changes in the current selection. I think its a nice feature to have, instead of using an "update" button. Basically I want to do something like what has been written by mertens3d here:…
2 commentsclothBatchSim
Script
This is a simple way to simulate multiple cloth simulations in 3ds Max in one go. It will find all cloth modifiers in your current selection of objects and simulate them one after another, thus you don't have to start each manually. After…
0 commentsupdate interface when slidertime changes
Forum topic
Hey Guys, One more question for today ;) I would like to update one of my rollout spinners, whenever the user changes the slidertime. Unfortunately I don't know how to do it in an elegant way. I could just look for changes in slidertime 20…
2 commentsget screen size / resolution for rollout placement
Forum topic
Hey Guys, I want to position a rollout in the lower left corner of the 3ds Max Interface, right above the timeline. I tested that on a screen resolution of 1280x800 pixels the coordinates are in my case [0,638]. My question: Is there any…
2 commentsImage Button / Coloured Button
Forum topic
Heya, just a quick question, I do have sth like this: bm_black = bitmap 62 27 color:(color 0 0 0) rollout ro_Test "test" width:130 height:150 ( button btn_black "" pos:[2,61] width:62 height:27 images:#(bm_black, undefined, 1, 1, 1, 1, 1)…
2 comments