Message 1 of 5
How to link attributes for FACES and VERTICES in MEL?

Not applicable
11-12-2010
10:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm trying to link attributes of a face or vertex of one object to another using mel. I can easily link the full object by using this simple script:
pSphere1.translateX = pSolid2.translateX
or
pSphere1.rotateX = pSolid2.rotateX
SIMPLE! But when I try doing it with one of the FACES or vertices such as:
pSphere1.f.translateX = pSolid2.rotateX
Is this possible to do with a polygon or even nurb?
The final goal is to have the translation of multiple locators affect the shape of one object by setting each locator to a different face or vertices.
Been struggling with this one for weeks now.
Thanks!
Matt
I'm trying to link attributes of a face or vertex of one object to another using mel. I can easily link the full object by using this simple script:
pSphere1.translateX = pSolid2.translateX
or
pSphere1.rotateX = pSolid2.rotateX
SIMPLE! But when I try doing it with one of the FACES or vertices such as:
pSphere1.f.translateX = pSolid2.rotateX
Is this possible to do with a polygon or even nurb?
The final goal is to have the translation of multiple locators affect the shape of one object by setting each locator to a different face or vertices.
Been struggling with this one for weeks now.
Thanks!
Matt