ScriptSpot

Forum topic · Scripts Wanted

toggle shaded vertex color

By SMFoged · 2007-04-17

Description

www.jimjagger.com made
toggle vertex
colors button/hotkey for his JJtools.

I request a button/hotkey for toggle shaded vertex color. It is the funktion circled in the image I
attached.

This funktion is not accessible through "customize user interface" in
the default max install.

 

Right?

 

 

 

Comments (4)

arketip · 2007-04-20

ok

That is easy to do :)

Here is the macroscript.

Run the macroscript one time and add a shortcut or quad menu (for example) by using the category "toolBox"

code:

macroscript shadedVCToogleMacro

category:"toolBox"

buttonText:"shadedVC"

toolTip:"shadedVCToogle"

(

on execute do (

for obj in selection where ( superclassof obj == GeometryClass and classof obj!= Targetobject ) do ( obj.vertexColorsShaded= (not obj.vertexColorsShaded) )

)

)

This script don't activate the vertex color mode in itself. I suppose that it is what you want?

jabbermacynew · 2007-04-28

Check out RO tools - it does exactly what you want and many other things!!

SMFoged · 2007-04-30

Wow that worked

I wish had the insight to start to do my own scripts, maybe one day i will give it a go and try to pick it up.

Thanks

Is there a link for RO tools? i searched on scriptspot and all i got was this thread.

 

Stephen Møller

Max User since 1997

Ultimate player since 2001 />
Copenhagen - Denmark