
br0t
- 56 public contributions
- Member since
- Latest contribution Jun 2015
Scripted Modifier - Get reference to object it is applied to?
Forum topic
How can I get a reference to the object my scripted modifier is applied to? I know there is the on attachedTo nodeVar do (...) event handler, but when I try to store nodeVar as a #node parameter, it crashes with a DependencyLoop warning.…
3 commentsSee which maxscript files are imported
Forum topic
Heya, is there any way to check which maxscript files are imported/loaded on 3ds Max startup? I have a situation where maxscript files are loaded from different locations (local and from the server) and one of them is doing stuff I dont…
6 commentsBackburner Test
Forum topic
Can someone please try the following script on a local backburner instance and tell me if a job is submitted? If yes, could you please try it multiple times in a row and also with the monitor connected to the manager? Dont forget you need…
0 commentsScripted equivalent to pressing Escape in the Listener
Forum topic
Is there a way to kill any MAXScript activity programmatically?
0 commentsScript Install/Uninstall/Update
Forum topic
So I am looking for a simple and robust workflow to provide an installer, uninstaller and update mechanic for my scripts. It does not have to include downloading a latest version from an online resource, but the updating should e.g. be…
6 commentsPy3dsMax: global functions
Forum topic
So I am trying to make some stuff work from a python script, and I'd like to use callbacks, which as we know need a global function to work. So far I have this (with "mxs" being the maxscript commands imported to my python script):…
2 commentsCheckbutton highlightColor update trick
Forum topic
Hey, I just found out a little trick that I thought might be worth sharing. It is nice that you can set a custom highlightColor for checkbuttons inside a rollout. However, changing that color while the script runs, e.g. to reflect some…
7 commentsCloth modifier does not work with groups
Forum topic
Heya, I am trying to automate some cloth simulation. I am accessing the modifier e.g. like this: $myObject.Cloth.eraseSimulation() $myObject.Cloth.simulate true etc. Everything is working fine, as long as I dont use any groups. When I add…
3 commentsgwDrawing: translate, rotate ?
Forum topic
Hey there, when using any gwDrawing methods to draw in screen space, like gw.wPolyline #([50,50,0], [200,150,0]) true rgb:#(red,red) and I am happy with all the things I have drawn: Is there any way to globally translate and rotate this…
0 commentsLooking for "Convert MXS to execution string and vice versa" script
Forum topic
It was here in scriptspot and was really useful.. anyone remembers the name? cant find it
3 commentsVisual Maxscript Grid Snap
Forum topic
I just realized there is one. ALL.THOSE.YEARS.!111 So for anyone as dumb as me not seeing that button and moving ui elements pixel by pixel all the time, try to have a look at this: The grid spacingcan be edited under layout.…
0 commentsget change handler from node
Forum topic
Hey, I was just wondering if you could get a change handler from any object, that was not referenced to a variable. Like a "hasChangeHandler" property or something similar. Cheers
1 commentKill Selection Brackets
Forum topic
Hey there. The selection brackets (toggled by pressing "J") are annyoing to me, most of the time. Toggling them wont turn them off completely, which I would like to do. Is there any way to find out via MXS if the brackets are on/off? Cheers
3 commentsResize bitmap
Forum topic
Heya, I am pretty sure there is a way to resize a bitmap within 3ds Max, but I do not remember how. I would like to take an existing bitmap and scale it to 50%, 25% etc. of its scale. Cheers
2 commentsVolume
Forum topic
Hey, I would like to randomly distribute objects in a spherical volume defined by a radius, how would I do that? Cheers
2 commentsgw drawing in a non active viewport
Forum topic
I have a function that draws stuff in the active viewport, and when I switch the viewport the drawings move to it as well. I want them to stay in the viewport they have been created in. Is it possible? Cheers
0 commentsSyntax 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 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 comments