|09 September 2006||#2|
Project Manager, Asset Lead
Join Date: Jun 2002
Maybe you could do it with an expression?
pSphere1.tx = floatSlider.value (or something similar?)
pSphere1.tz = floatSlider.value
Don't remember if you can use the connection editor with UI elements.
Or you could try the connectAttr command.
connectAttr "floatSlider.value" "pSphere.tx";
I can't remember the syntax here and I have no time to check it out. ( just waiting for a playblast ), but look up the connectAttr command and other Attr commands.
|09 September 2006||#3|
SW Development Manager - Maya
Join Date: Apr 2004
Or you could use a dragAttrContext and attach to the attributes you want to edit. Here is one connected to trans X and Y of a sphere.
Quote: dragAttrContext myDragAttrContext;
dragAttrContext -edit -connectTo pSphere1.translateX -connectTo pSphere1.translateY myDragAttrContext;
|09 September 2006||#4|
Join Date: Sep 2003
Thread automatically closed
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.
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
|Thread Closed share thread|