ScriptSpot

Forum topic · General Scripting

Playing with control points of a FFD Box

By Mwa · 2012-03-29

Description

Hello Everyone!

I'm a beginner in scripting with MAXScript and I'm having a problem with a FFD Box.

What I'm trying to do is to get access to the control points of a FFD Box (the space warps one). I would like to "link" each control points of the ffd box to an individual dummy to make them move with thanks to the dummies. This is why I'm trying to get access to the points but using getvert doesn't work since the ffd box isn't a geometry.

I hope you'll be able to help me out with this and I apologize for my bad english, it is not my native language.

Thank you!

Comments (2)

jos · 2012-03-29

you can acces the control points like this:


ffd = $.modifiers[1]
ffd[1] -- returns "SubAnim:Lattice_Transform"
ffd[1][1] --returns "SubAnim:Position"
ffd[1][1][1] --returns "SubAnim:X_Position"

you can find more info at this link
http://forums.cgsociety.org/archive/index.php/t-720508.html

Mwa · 2012-03-31

Thank you :)