Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® Maya® / SDK / Question about the devkit (simpleSolverNode.cpp)
  RSS 2.0 ATOM  

Question about the devkit (simpleSolverNode.cpp)
Rate this thread
 
35695
 
Permlink of this thread   Subscribe to this thread
avatar
  • Godot
  • Posted: 18 October 2009 02:19 AM
  • Total Posts: 2
  • Joined: 18 October 2009 08:57 AM

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.



Replies: 0
avatar
  • tanip_31
  • Posted: 28 January 2010 05:51 AM

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.



Replies: 0




   
  Settings Choose Theme color: