Thursday, 22 August 2013

How do I use the GeometryConstraint class?

How do I use the GeometryConstraint class?

I've been trying to get this to work for so long now, I've read the docs
here, but I can't seem to understand how to implement the
GeometryConstraint.
Normally, the derivative version of this would be:
geometryConstraintNode = pm.geometryConstraint(target, object)
However, in Pymel, It looks a little nicer when setting attributes, which
is why I want to use it, because it's much more readable.
I've tried this:
geometryConstraintNode = nt.GeometryConstraint(target,
object).setName('geoConstraint')
But no luck, can someone take a look?
Shannon

No comments:

Post a Comment