View Full Version : connecting sphere radius and cylinder radius
chayanvinayak 10-20-2007, 09:03 PM hi ,
How sphere radius and cylinder radius can be connected using mel so that if i increase the radius of sphere, radius of cylinder increases itself.
Thanks
Chayan
|
|
GiantG
10-20-2007, 11:32 PM
Hard Connection:
connectAttr polySphere1.radius polyCylinder1.radius;
If you want to time that connection you must use driven keys:
// Set your Start Values for both Objects
setDrivenKeyframe -currentDriver polySphere1.radius polyCylinder1.radius;
// Set your End Values for both Objects
setDrivenKeyframe -currentDriver polySphere1.radius polyCylinder1.radius;
Cheerz...
TheNeverman
10-20-2007, 11:52 PM
couldn't you link them in the connection editor?
GiantG
10-20-2007, 11:55 PM
He wanted to do it in MEL he said....
Of course you can do it in the Connection Editor or in the HyperShade.
CGTalk Moderation
10-20-2007, 11:55 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.