Question about the devkit (simpleSolverNode.cpp)

Question about the devkit (simpleSolverNode.cpp)

Anonymous
Not applicable
350 Views
1 Reply
Message 1 of 2

Question about the devkit (simpleSolverNode.cpp)

Anonymous
Not applicable
I wanted to develope the inverse kinematics through MAYA API(Maya 2009).
So I analyzed the simpleSolverNode.cpp located in "Autodesk\Maya2009\devkit\plug-ins"
By using the Visual Studio 2008, I made the mll file.
And then I connected the plug-in,
made the two joint(single bone),
typed the command("ikHandle -sol simpleSolverNode -sj joint1 -ee joint2") in the command line.
The result is error.

// Error: The ikSolver does not exist. //

Why did not operate the devkit code?

Help me, please.
0 Likes
351 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
You need to create node before write the mel command

createNode simpleSolverNode -----in mel command

it will create simpleSolverNode1

---then you need to write

ikHandle -sol simpleSolverNode -sj joint1 -ee joint2

it should work.It is working now in my mechine.
0 Likes