Tagged 'Scripts Wanted'

select all by selected object(s) layer

Surprisingly I couldn't find this very basic subject.
Yes, I can open layer manager and double click the highlighted layer name, but I need it via shortcut. Also, if there are objects in *nested* layers they should also be selected.
Thank you

instances to separate layers

Guys here's the script idea:
I need a script that would move all the instances (of multiple definitions) from the current selection to the separate layers
For example in the current selection I have 10 instances called AAA_ , 10 instances called BBB_ , 10 instances called CCC_ etc..
The script would create the separate layers in accordance to instances names, but starting with prefix z_ :
z_AAA
z_BBB
z_CCC
and move the instances to related layers (all AAA_ instances will be moved to layer z_AAA, BBBs to layer z_BBB etc)

Link Light color to pixel of texture

I posted this "MANY" years ago and still have not come up with a solution. Trying again to see if anyone has any insight.

I have a series of lights that I want to animate the color from the pixels of an animated texture/material.

For example if I had a grid of lights 5 x 5 and I had a texture that was 5 pixels by 5 pixels, I would like each pixel to drive the color of the light.

My end file is going to have 5000 lights and up to 5min of animation so I need a way to automate this.

Thank you

D.

Select selection set modifier

Hi,
Happy new year to everybody !

I was wondering if it is possible to make a modifier to select selection set.
Example :
I model an edit poly
on top I have a chamfer modifier.
Each time I select an edge to modify my model, i need to reactivate selection set.
If there was a modifier to do this it would be fantastic !
We could choose : subobject type, and selection set name.

Best regards.

Toggle modifier On/Off for certain frames

Hi,

I've figured out how to toggle modifier for an object so far, i.e.

$Box001.TurboSmooth.enabled = false/true

yaay! But here's a thing - I need to switch this modifier only for frame 3, 4, 5
I'm a complete noob with the maxcript so I'm asking for help. I tried to dig myself but with no result.
Any ideas?

Update a dotnet dll to work in max2024

Hi,

I need the Hitchhiker.dll made by Pete Addington (lonerobot) to work with updated 3ds max version like 2024. It is working fine in 2020. I tried to reach Pete for couple of month but failed.
The script is available in this forum from 2010 may be. It is a thumbnail generator script for images files in a folder name supplied. I will pay if somebody can help me out. Will share details if you are interested.The issue is dotnet version related.

select objects/faces with no thickness

hi guys,
does anyone know if there´s a way to wrote a script that select only the faces (or objects) with no thickness? I need this to select glass faces with no width imported from a sketchup model. I mean, it´s a large scene and a considerable part of the glass object has no thickness. I can select by hand using some tricks, but i will be a huge effort.
Thanks in advance,

Jsrocha

Plugin modifier to unselect all

Hi,
I use plugin modifier InvertSel
Sorry for the creator I can't find its name ! :-(
Here is the code:
--------------------------------------------------
plugin modifier InvertSel
name:"Invert Selection"
classID:#(0x133382167, 0x5109474)
extends:Turn_to_Mesh
replaceUI:true version:1
(
on create do
(
delegate.selectionConversion = 2
)
)
--------------------------------------------------
Anybody could make such a plugin modifier to remove all selection ?
Thanks a lot. :-)

Remove object from named selection set

Hi guys,
is there a way to remove an object (or objects) from a named selection set using maxscript? i mean, remove from any named selection set, not an especific one.
Thanks in advance,

Jsrocha

Nebula script?

I don´t have programing skills, and was browsing for scripts or plugins that can freely generate stars and nebulas, something in the line of Stargen for 3dsmax, Ky_Milkway for 3dsmax and the AWESOME nebula generator (this one is available only for blender).
When browsing, I found this piece of coding of a few samples: https://gamedev.stackexchange.com/questions/147812/space-nebula-cloud-ge...

Would someone be abble to rewrite it as a script or plugin for 3ds max?

In advance, thanks for any help.