Tagged 'General Scripting'

Floating Smoothing Group Menu For Mesh Objects

Hello,

Is it even possible to have a floating smoothing group menu that works for Editable Mesh Objects? I know poly is generally the king of smoothing, but I was hoping someone had discovered a way to get a nice floating Smoothing groups menu that works on Editable Mesh Objects.

Vertex Color Swapper

Hi, Does anyone know of a script that will swap vertex colors?
I used one years ago, but can't seem to find it.

I would need to do for example:
swap what is currently blue to green, green to red, or dropdown combinations to pick from...blue to red etc.

I need to swap all current colors..currently i have meshes with Black being base color, Red, Green, Blue.

thx

How to make a script “batch friendly”

Hello fellow members of scriptspot. I use BatchIT by Paul Neale for batch processing max files, I enjoy using it, and highly recommend it. I have a question, as it appears to be an entirely different beast to prepare or format scripts to be used in a batch process. My question, for the most part is this: How would one go about making a script that will search for a given object and then if not found continue the search for the next object, so on and so forth, and then finally delete any of the found objects.

MatchEvaluator

Hi,

Is there a way in MAXScript to use a MatchEvaluator which can be a parameter of the dotnet method Replace (from a dotnetobject/dotnetclass "System.Text.RegularExpressions.Regex")?

Remove QuadMenu items with the MaxScript

There are two Corona items in the QuadMenu permanently - once removed it coming back on next 3ds Max start.

actionMan.executeAction 572340868 "7" -- Chaos Corona: Open Corona Converter
actionMan.executeAction 572340868 "6" -- Chaos Corona: Open Corona Proxy Exporter

Is there any way to have .ms in the scripts/statrup folder to remove both items from the QuadMenu on 3ds Max start?

character cycle foreward

Hi. I am not scripter just writing some lines for easing walk and run cycles forward.

why to use: 3ds max save load animation sucks at load relative animation for linked object! how to use it: first run the script vcn4.ms from maxscript. then follow the following!:

Let's say you've done a cycle of walking or running. (not in place trademill style! moving forward)
in the script window you can see 6 steps
1- pick controls: pick corresponding controller => click button => click control

TV screen object

Hello.
I need a script that would create a new object, the screen based on the size of the diagonal and the thickness of the frame and depth of the object, the ratio of 16x9 or 16:10. or 4:3.
For example, I enter a diagonal of 55" and a frame of 1cm and a depth of 4cm.
And the script creates a rectangle 1218mm x 685mm, adds 1cm thickness to it and adds 4cm volume.
How can this be done?

Make unique object group from multiple Array

Hi All
How to create a unique group of objects from multiple arrays?
This is an example of a known array of layers

 layer1 = #("Sphere001","Sphere002","Sphere003")
 layer2 = #("Box001","Box002","Box003")
 layer3 = #("Tube001","Tube002","Tube003")

then I used the loop method like this with the results I wanted

ObjectGroup= #()
for i=1 to layer1.count do
(
	for x=1 to layer2.count do
	(
		for y=1 to layer3.count do
		(
			groups = #(layer1[i], layer2[x], layer3[y])
			ObjectGroup += #(groups)
		)
	)
)

Unable to convert: BitMap to type TextureMap

Hi all.
How to convert BitMap to type: TextureMap ?

--------------------------------------------------------------------
displaceBitmapStr = getBitmapOpenFileName caption:"Select displace image file" filename:locDir types:"All|*.*|"

renderWidth = displaceBitmap.width
renderHeight = displaceBitmap.height

displaceBitMap = bitmap renderWidth renderHeight filename:displaceBitmapStr

displaceTextureMap = bitmaptexture.displaceBitMap
--------------------------------------------------------------------

Camera rename

Hi all.

I haven’t used Maxscript in my work for a long time, I forgot a lot...
There is a camera in the scene. It is known that the camera class is Freecamera. I want to rename it using a script.

But that doesn't happen

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
for v in geometry do (
if (classof v == Freecamera) then
(
select v
$.name = "Camera"
)
)
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

Syndicate content