Tagged 'ScriptSpot How To'

help MaxScript for rig system

hey guys, i have a small problem with a script that i am trying to do
the idea is to make a script that can create a rig for any characters (standard rig for people ) with a few clicks ... so the problem is when i try to align a bone to a dummy it aligns the position but not the rotation.

you will find below a screenshot of the result i am getting
by the way this is my first time in maxscript and here is the code :

maxops.affectchildren=false

select $Dummy001
aa = $.rotation.x
bb = $.rotation.y
cc = $.rotation.z
a = $.pos.x
b = $.pos.y
c = $.pos.z
select $Bone001

nurbs curves

Tried some of the methods for nurbs curves, such as $.EvalPos , $.evaltan,,$.numknots..etc..keep getting error message :'unknown property numknots in nurbscurve001'...etc..what's going on? How can i get an unknown property error on a nurbs curve which has those properties acccording to the documenation?

Relax Tool Dialog Amount parameter

Hi there,
is there anyone who can tell me what's wrong with this code?

actionMan.executeAction 2077580866 "40136" -- Unwrap UVW: Relax Dialog
$.modifiers[#unwrap_uvw].setRelaxAmount 1.0

I would like to create a button that opens the relax dialog with the parameter set to "1,0" while I'm working with the unwrap editor ...
The listener returns me OK but nothing happens in the dialog ...
except the second time I run the script after manually closing the relax tool dialog ...
very usefull if someone tells me how to close the dialog via script ...

Thanks to anyone who can help ..

create 3d wheel deformation using script

Hi friends

i am stuck at my project end.because here i am confuse about how to create wheel deformable. anyone knows about the wheel deformation please just late me know
here is the you tube link
http://www.youtube.com/watch?v=2xmbHiQ8jBE&feature=related

Reply

Raj

animate morph while playing time line

is their a way to animate morph while playing time line for example after animating the lip sync & face expressions i want to animate the eye blink & rotation by playing the time line & move the slider to record.

Vray caustics

Looking for a way to turn Vray caustics on and off with maxscript.

thank you in advance