Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / SDK / Maya Constraint API problem and getting Node exact MObject or Name?
  RSS 2.0 ATOM  

Maya Constraint API problem and getting Node exact MObject or Name?
Rate this thread
 
59666
 
Permlink of this thread  
avatar
  • Shylon
  • Posted: 03 September 2011 10:51 PM
  • Total Posts: 16
  • Joined: 15 December 2006 04:24 PM

Can you help me?
I have problem when I getting custom constraint node from void MPxConstraintCommand::createdConstraint(MPxConstraint *constraint); *constraint pointer gives me the correct name, but without number, for example pCube1_customConstraint#, note “#”, and second time when i do constraining it will give me the correct name with number, pCube1_customConstraint1.
MPxConstraint is drive from MPxNode, and may be you can help me?
Thanks.



Replies: 0