You will need to dive into Qt for this stuff because the high level native
Maya UI functionality won't give you that ability.

I take it you are a bit behind the times :-)
Maya has been shipping with PySide since 2013, which is why I stopped
maintaining PyQt installers. You can search the history on this group for
related topics.

People have even created node graphs, and open sourced the examples.

https://github.com/drumboy354/MayaNodeInterface

On Sun, 17 May 2015 9:28 PM fruity <[email protected]> wrote:

> Hey Justin, thanks for your answer !
>
> Yes, i mean "like a node graph" (i assume that what you call node graph is
> similar to the node editor or the hypergraph)
>
> The maya nodes i speak of are generic, not maya DG nodes, but my owns (not
> created with the API though. Otherwise, the nodeEditor would have been
> enough =)
>
> About the tree view, as far as i saw, it doesn't allow free moves, and
> this is what i'd like.
>
> To sum up, the idea would be to have a visual representation of a process,
> for example an autorig. Each node representing an action, or a part, or
> whatever (like "arm", "head", "wheel", "mirror", etc). The best would be to
> have exactly the same thing than nuke, or even than the combination node
> Editor / attribute editor : you move your nodes, and if you double click,
> you tweak them in the attribute editor.
> I'm not talking yet about the connections between nodes, but the concept
> itself would be the same than the node editor, or than the Qt example
> "elastic nodes" (https://www.youtube.com/watch?v=I0n07iuowvY), without
> the 'elastic' feature : several elements known as "nodes" that the user can
> move into space and that have signals and slots allowing the user to tweak
> them.
>
> Finally, is there any reliable information from Autodesk regarding a full
> compatibility of pyQt for maya (i mean : without the need for the user to
> install anything) ? If i don't want to use pyQt, it's because i don't want
> the user to install anything on his computer. I had a hard time installing
> pyQt on my mac for instance, and i finally figured it out using the pkg you
> did, justin =) Many thanks for that, btw ! But that's why i'd like to do it
> fully maya, unless maya 2016 comes native with pyQt for instance =)
>
> Thanks for your help
>
>
>
> Le dimanche 17 mai 2015 03:41:53 UTC+2, Justin Israel a écrit :
>
>> When you say a node editor that you "
>> could manipulate just like a node in a 2d space", are you meaning like a
>> node graph?
>> If so, I don't think the Maya native ui provides you with that high level
>> capability. You talked about a tree view, but that wouldn't have free 2d
>> positioning. What does that treeView not have, that you require for your
>> goal?
>> Are these Maya nodes you speak of, or "node" in the generic sense of a
>> node graph? When you say they would run arbitrary commands when clicked on,
>> can you give a workflow example? Maybe that would better help the group to
>> offer suggestions.
>>
>> The Maya native UI is very high level, and only does exactly what each
>> limited api descriptions says, with no ability to extend them (as you would
>> in Qt)
>>
>> On Sun, 17 May 2015 9:16 AM  <[email protected]> wrote:
>>
>>> Hello everyone,
>>>
>>> I'd like to create own node editor using python or mel. The idea would
>>> be to have my own nodes (represented by square pictures, for instance, and
>>> acting like buttons. so that i can attach any cmd i want to them) that i
>>> could manipulate just like a node in a 2d space.
>>>
>>> I was thinking it may be possible with treeView cmd, by cheating with
>>> some callback which could trace mouse movements, but i didn't find anything
>>> concrete yet...
>>>
>>> Does anyone have an idea on how to achieve this or even if it's possible
>>> ? (also considering i can't use qt)
>>>
>>> Thank you !
>>>
>>> --
>>> 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/661273bb-f968-4a6f-8234-a2b774076132%40googlegroups.com
>>> .
>>> 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/45b7cc6d-ca05-4ad6-97ac-d8743554f934%40googlegroups.com
> <https://groups.google.com/d/msgid/python_inside_maya/45b7cc6d-ca05-4ad6-97ac-d8743554f934%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/CAPGFgA1Th8FcmTcGX15fRc6%2BrpeyDjftDyxwQY6YG-az75hQeQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to