Yeah,
We've also hit the same wall!
For our characters/props rigs anim gui, we tried many things to achieve a
virtualslider functionality programmatically (without selecting a node and
clicking an attr in the channelBox), but ended with a solution close to
described, via a draggerContext...


2014-12-10 18:34 GMT+01:00 Paul Molodowitch <[email protected]>:
>
> Huh - I would have sworn that I've done this, but apparently I was
> mistaken - be curious if someone does find a way...
>
> On Wed, Dec 10, 2014 at 8:02 AM, Marcus Ottosson <[email protected]>
> wrote:
>
>> It seems to me that what miarmy is looking for is to visualise attributes
>> by highlighting items in the channel box, and it doesn't look like the
>> channelBox command provides the means to do this.
>>
>> It might be possible via some PySide/PyQt trickery, e.g. by grabbing onto
>> the widget and either modify the stylesheet/paintEvent directly (worst
>> case) or find what data drives the "current selection" and modify it (best
>> case). I'll try and have a look when I get some time on my hands.
>>
>> On 10 December 2014 at 15:43, Carlos Rico <[email protected]>
>> wrote:
>>
>>> You can have a look at dragAttrContext command:
>>>
>>> http://help.autodesk.com/cloudhelp/2015/ENU/Maya-Tech-Docs/CommandsPython/dragAttrContext.html
>>> and draggerContext command:
>>>
>>> http://help.autodesk.com/cloudhelp/2015/ENU/Maya-Tech-Docs/CommandsPython/draggerContext.html
>>>
>>> Maybe that's what you are looking after.
>>>
>>> Also check Hamish McKenzie's zooToolbox <http://www.macaronikazoo.com/>,
>>> which includes zooAttrScroller.mel and
>>> you can grab a modified version of this script by David Johnson:
>>> http://www.djx.com.au/mel/zooAttrScroller.rar
>>>
>>> This following link delves into this a bit more:
>>> http://www.djx.com.au/blog/2009/08/11/zooattrscrollermel-virtual-sliders/
>>>
>>> These scripts create a draggerContext and a marking menu for choosing
>>> which attribute of the current selected object to modify by mouse-dragging,
>>> a bit like selecting an attribute in the channelBox and middle-button
>>> dragging
>>>
>>> Hope it helps.
>>>
>>>
>>> *Carlos Rico Adega*-------------------------------------
>>> <http://www.vimeo.com/16765581> LinkedIn
>>> <http://www.linkedin.com/pub/carlos-rico/6/58/325>
>>> [email protected]
>>>
>>> 2014-12-10 15:33 GMT+01:00 miarmy <[email protected]>:
>>>
>>>> Marcus and Justin ...thank
>>>>
>>>> ok!...example: i have a face control(example lip control)...now i want
>>>> press the special shelf button until select a field in the (main)channel
>>>> box...(when selected the a field in the channel box i can control on value
>>>> of attribute with middle button...)
>>>> excuse me,...my english is not good( ....and channelBox  Command was
>>>> inconclusive)
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Python Programming for Autodesk Maya" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/python_inside_maya/cf19a6f8-40f7-4dfc-b8e0-e6cf1ba04e71%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/python_inside_maya/cf19a6f8-40f7-4dfc-b8e0-e6cf1ba04e71%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Python Programming for Autodesk Maya" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/python_inside_maya/CAFzJ14VUOyM_yxpiWc54TuhskCuqZOjdZc1%3DJrU8jY9LFMqcJQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/CAFzJ14VUOyM_yxpiWc54TuhskCuqZOjdZc1%3DJrU8jY9LFMqcJQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> *Marcus Ottosson*
>> [email protected]
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Python Programming for Autodesk Maya" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAhJ9YhZ9QAiDejyoeKUs%2BPSHRPuYQmeK5Xq2u9_Th-Zw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAhJ9YhZ9QAiDejyoeKUs%2BPSHRPuYQmeK5Xq2u9_Th-Zw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/python_inside_maya/CAAssL7b55kZ9vWeLRDb%3DUFEgDTfbKb5FCy7uhXJFc23uMuzbWw%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAAssL7b55kZ9vWeLRDb%3DUFEgDTfbKb5FCy7uhXJFc23uMuzbWw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAD65uqnXhmmOnJHou8OCRfydukqgkWu80m7L51xhc0ses6Ou0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to