
br0t
- 56 public contributions
- Member since
- Latest contribution Jun 2015
Align 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 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 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 commentsDot / Comma Problem
Forum topic
Hello, I do have a problem in the MAXScript editor regarding the use of "." and ",". E.g. I am doing some cloth modeling with garment maker, and there is the command: "$.garmentMaker.generateDescription()". It is used to buffer the…
4 commentsHow to copy custom attribute keys from PEN Attribute Holder ?
Forum topic
Hey Guys, I have two hand controls in a rig that control the curl and splay of the fingers. The rotations of the finger bones are wired to some custom attributes of the hand controls. I animated one hand and now i want to copy those keys…
4 commentsAlign Orientation
Forum topic
Heyho, I guess it's a simple thing, but i'm really unexperienced with rotations in max and don't get it: I want to script a button that "snaps" my wrist-bone into the same orientation as my forearm-bone. Basically the same thing i can do…
2 commentsmax commands / mouse tools
Forum topic
Hey, I just found out about the max command to fire up tools like "zoomregion". They are listed in the reference file under "MAX commands". My question is, is there any way to see the underlying code of these tools in maxscript? To be more…
2 commentsautobackup timer and scene dirty state
Forum topic
Heyho, I tried scripting a countdowntimer to have a visual information on when the next autobackup is going to happen. but i have some issues here, maybe someone can help! 1. Is there any way to get the internal time after which 3dsmax…
3 commentsRenderer Switch - How to check for current Renderer?
Forum topic
Hey Guys, I'm stuck again on a very simple script. I just want to code a macro that looks if scanline or mental ray is the current production renderer and then switches to the other one. But I just don't get it how to check for this. I've…
2 commentsCould use some help :) <<Unknown system exception>>
Forum topic
Heyho! i am currently messing around with max script a bit, trying to understand it and learn the commands, so i'm really new to this. For training i wrote this small script: macroScript checkSelCount category:"Custom" ( rollout…
4 comments