Tagged 'Scripts Wanted'

Clone objects and add a name extention

Hey guys.. looking for a script that will clone All selected objects, and add a name extension to the original object's names.
For example Box_01 and Box_02 cloned to Box_01_New-text-here and Box_02_New-text-here, than create a new layer and be able to name that for the group of selected objects that were cloned.

Target Align Vertex

I was wondering if it would be possible to use the target weld process to target align ?

I've been given a script by Daniel Swahn over at the Area forums, he's happy for his script to be modified as long as credits are provided.(file attached)

I'm asking here because I don't know maxscript, but see how this script might be improved.

All it needs is the target weld process combined with the axis constraints, only aligning, not welding. ie, click first vertex (copy) click second vertex (paste).
Currently I have it set to hotkeys, which is fine but targeting would be a breeze to use.

VrayBmpFilter Relink path

Hi friends!

Faced with a big problem, maybe someone can help me?

I have a lot of scenes in which many materials used VrayBmpFilter.

And now I need to change the bitmap path in these scenes. Do it by hand is almost impossible, Asset Tracking does not see the VrayBmpFilter, other scripts and programs also can not do relink path. In addition to creating a script for this purpose, i see no other solution. I'm in this unfortunately do not understand anything :((

Searched everywhere, really nobody faced a similar problem?
Or is there a simple solution, that I do not know?
Help please!

Apply random material to element

Hi,

I found on this forum the following script that works very well when applying a random amount of materials to selected objects

Now if I have a single mesh with many sub objects in it (cubes for example) that each can be selected with the mesh / element selection, how shall I modify the script to make it apply the random materials to the elements of the mesh?

I presume the "obj" should be swtiched to become refering to the element instead?

Script:
for obj in selection do obj.material = meditMaterials[random 1 4]

thanks

Bounding box of selected faces

Hi guys, how´s going?

MacroscriptLister - needs repair

Hi!

this is one of my favorite scripts, or was, since it crashes my Max 2014 nowadays.

Original credits: I dont remember :( I searched for the internet, but couldn't find where I found this script in the first place.
Great many thanks to the original author anyway. :)

macroScript MacroscriptLister
	category:"Haider"
	toolTip:"Macroscript Lister..."
	buttontext:"Macroscript Lister..."
 
(
	(
		rollout macroList "Macroscript List" (
			local mcrCategories;
			local mcrNames;
			local mcrTexts;
 
 
			dropdownlist categoryList;
			dropdownlist mcrNamesList;

Select objects by texture (path)

I have an imported scene with nearly 4000 objects, I run Relink Bitmaps to fix the texture paths, but if I show all textures in viewport, max hangs and crashes due too the hundreds of duplicate textures.
There are literally 100's of objects with the same texture.but different material colours.
Is it possible to select objects via texture ? I've tried all other methods in max and none do what I need,I don't fancy doing this manually.
I found this thread of a similar problem....

http://www.polycount.com/forum/showthread.php?t=60923

GizmoUnify modifier wanted

it is easy to apply certain modifier (UVWMap, Slice, Symmetry, etc) to selection of objects and have common gizmo for all objects. but it is impossible paste this modifier to another objects keeping gizmo in source position. thus need to select objects, delete modifier, add objects to selection and apply modifier again.

i wonder if it is possible to create scripted modifier which will affect all modifiers with gizmos (or 'slice plane' or 'mirror') so if we want joined mapping on objects - just copy and paste instanced UVWMap and GizmoUnify modifiers

i may provide screenshots if needed.

Exploded view

not sure if this script or a script that can do this exists but i'm thinking of making an exploded view animation

basically i have thousands of objects in my scene in a small area of a product, i want the whole product to explode (not in a chaotic way)

so every object moves away from the centre of the object as if it is completely disassembled into it's components and i want to animate it

i can't think of a way to do it without key framing every single part and there's way too many

anyone got any suggestions?

Cheers

Turn ON 1 layer, and turn off 4 the other, automatically

Hello guys,

i have some bigger work in progress and now i would get great use of this functionality to speed up some really tedious tasks...i would really appreciate your help on this topic: