strarup
04-03-2008, 07:21 PM
Hi,
has anyone played with the MPxConstraint and MPxConstraintCommand from the Maya api?
and if so e.g. know how to get the offset thingie implemented/syntax?
I have recompiled Chad Robert Morgan's vertexConstraint plugin
(http://members.aol.com/docmorgan/plugins.htm)for Maya 2008 windows... you can get it here (http://www.strarup.net/awug/vertexConstraintNodeMaya2008_win32bit.zip)...
why I'm asking this question is because I thought it could be quite cool now that the api
has got this new functionality to implement it into morgan's vertexConstraint plugin...
think it could be quite cool... with the vertexContraint node to have the offset ability included... :)
however I have only been able to find the offset thingie in the MPxConstraintCommand and not in the MPxConstraint...
supportsOffset and offsetAttribute are in the MPxConstraintCommand... and I just wonder if you e.g. only make it in the "making command" of the plugin... if this then will get added to the created node by the plugin...
there is a quite cool example in the devkit section on how to make a plugin with the MPxConstraint thingie...
however it just doesn't have the offset thingie implemented... :)
kind regards
Strarup
has anyone played with the MPxConstraint and MPxConstraintCommand from the Maya api?
and if so e.g. know how to get the offset thingie implemented/syntax?
I have recompiled Chad Robert Morgan's vertexConstraint plugin
(http://members.aol.com/docmorgan/plugins.htm)for Maya 2008 windows... you can get it here (http://www.strarup.net/awug/vertexConstraintNodeMaya2008_win32bit.zip)...
why I'm asking this question is because I thought it could be quite cool now that the api
has got this new functionality to implement it into morgan's vertexConstraint plugin...
think it could be quite cool... with the vertexContraint node to have the offset ability included... :)
however I have only been able to find the offset thingie in the MPxConstraintCommand and not in the MPxConstraint...
supportsOffset and offsetAttribute are in the MPxConstraintCommand... and I just wonder if you e.g. only make it in the "making command" of the plugin... if this then will get added to the created node by the plugin...
there is a quite cool example in the devkit section on how to make a plugin with the MPxConstraint thingie...
however it just doesn't have the offset thingie implemented... :)
kind regards
Strarup
