Hi Carlos,

Yes it is possible! I can’t help you right now, but I’ll try to give you a hand in a few hours.

Can you post this question in a new thread? This isn’t really a resources question. :slight_smile:


I am sorry for posting it here I thought that this was the place for it



I just updated my website with a new document section : it contains a brand new version of the tutorial about using a .NET library in MAXScript. Others articles (.NET and also other MAXScript features) to follow…

Here is the link : http://ypuechweb.free.fr/


Good stuff thanks Yannick


Hi,I’m also fond of maxscript and have wrote some scripts,such as random select elements of Epoly etc.I hope my scripts may be useful for you.http://www.cgplusplus.com
My scripts are updating…


Not sure if this has been posted before, but I found it recently and it seems pretty useful.

“Rosetta Code is a programming chrestomathy site. The idea is to present solutions to the same task in as many different languages as possible, to demonstrate how languages are similar and different, and to aid a person with a grounding in one language in learning another. Rosetta Code currently has 304 tasks, and covers 143 languages, though we do not have solutions to every task in every language. A variety of tasks are listed, and visitors to this site are invited to solve the tasks in the language of their choice. The tasks cover everything from the mundane Empty Program to the esoteric Towers of Hanoi.”
Main Page: http://rosettacode.org/wiki/Main_Page

Maxscript Section: http://rosettacode.org/wiki/Category:MAXScript[/b]


Awesome compilation LFShade !


This is the documentation we get at my school.

It’s written by my teacher. It gives a really good understanding for learnin gMmaxscript and covers interesting topics.

be sure to check it out :slight_smile:



I love MAXScript and maybe you find my scripts useful:

(pX 3DDisplacer, pX TreeMotion and pX LocoRandomizer)


I have updated my site once again: http://www.scriptattack.com/
There you can find my projects, scripts and snippets.


resetMaxFile() #noPrompt
max modify mode

ctrl = plane length:50 width:150 lengthsegs:1 widthsegs:1 wirecolor:white isselected:true

olights =
    omnilight name:"L1" pos:[-50,0,5] rgb:red,
    omnilight name:"L2" pos:[  0,0,5] rgb:green,
    omnilight name:"L3" pos:[ 50,0,5] rgb:blue

CA_LIGHTS_CRTL = attributes CA_LIGHTS_CRTL attribID:#(0, 0)
    parameters params rollout:params
        id type:#integer default:1 animatable:on ui:lightID

    rollout params "Lights Control"
        radiobuttons lightID "       Light ID" labels:#("1", "2", "3")

custattributes.add ctrl CA_LIGHTS_CRTL #unique

scr = ctrl.visibility = float_script()
ctrl.visibility.controller = scr
scr.AddNode "me" ctrl
for j in olights do scr.AddNode j.name j

expr  = "lights = #(L1, L2, L3)

expr += "for j = 1 to lights.count do (lights[j].enabled = me.id == j; lights[j].ishidden = me.id != j)
expr += “1”
scr.setexpression expr

callbacks.removeScripts id:#ID_0X150C11420X3EFC8235
callbacks.addScript #preRender "for j in lights do j.enabled = true" id:#ID_0X150C11420X3EFC8235

seed 0
with animate on
    for j = 100 to 0 by (random -5 -10) do at time j ctrl.id = random 1 3



Jorge Rodríguez is cool guy that wrote this Maxscript to create and animate the visibility of 3 omni light with an attHolder UI

any body help me to edit this script to work for selected Geometry object instead of omni light… thanks in advanced.


New channel Yowtube maxscript