Is that after running all the same lines I posted before it? The value of
layout_pointer should be a long (number) right?


On Friday, December 28, 2012, Tuan Nguyen wrote:

> Sorry Justin for dig this up. Your example code about parent a graph to
> QtUi. In theory, i understand how it works, but when test it out. This line
>
> path = mui.MQtUtil.fullName(layout_pointer)
>
> It gave me an error:
>
> # Error: TypeError: file <maya console> line 1: in method
> 'MQtUtil_fullName', argument 1 of type 'QObject const *'
>
> How should i fix it?
> Thanks
>
>
> On Thu, Dec 27, 2012 at 12:23 PM, Tuan Nguyen 
> <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>
> > wrote:
>
>> Wow, this is awesome XD. But this might very difficult to archive, i will
>> read more about it.
>>
>> Again, thanks alot for showing me this :D
>>
>>
>> On Thu, Dec 27, 2012 at 11:31 AM, Justin Israel 
>> <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>
>> > wrote:
>>
>>> That sounds like you should be looking into 
>>> QGraphicsScene<http://qt-project.org/doc/qt-4.8/qgraphicsscene.html>.
>>> It is the path you want to take if you want many graphical elements, with
>>> high performance drawing, and the whole zoom/pan/scale situation. I use it
>>> for the same reason in my apps that need it. It is perfect when you need to
>>> manage many items.
>>>
>>> Tim Withers uses it for his node-based particle interface:
>>> https://github.com/drumboy354/MayaNodeInterface
>>>
>>>
>>>  On Wed, Dec 26, 2012 at 7:00 PM, Tuan Nguyen 
>>> <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>
>>> > wrote:
>>>
>>>>  Justin, thank for the example, i think it clear enough :D. I will use
>>>> this as reference.
>>>>
>>>> And about the HyperGraph panel, actually, i want to create a PyQt's
>>>> view that had the similar function like HyperPanel, not parent one of Maya
>>>> to. So i can appear item inside, zoom in, zoom out, pan left and right with
>>>> middle mouse.....  I just don't know which PyQt's widget i should use to do
>>>> that :D
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Python Programming for Autodesk Maya" group.
>>>> To post to this group, send email to
>>>> [email protected] <javascript:_e({}, 'cvml',
>>>> '[email protected]');>.
>>>> To unsubscribe from this group, send email to
>>>> [email protected] <javascript:_e({},
>>>> 'cvml', 'python_inside_maya%[email protected]');>.
>>>>
>>>>
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Python Programming for Autodesk Maya" group.
>>> To post to this group, send email to 
>>> [email protected]<javascript:_e({}, 'cvml', 
>>> '[email protected]');>
>>> .
>>> To unsubscribe from this group, send email to
>>> [email protected] <javascript:_e({},
>>> 'cvml', 'python_inside_maya%[email protected]');>.
>>>
>>>
>>>
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To post to this group, send email to 
> [email protected]<javascript:_e({}, 'cvml', 
> '[email protected]');>
> .
> To unsubscribe from this group, send email to
> [email protected] <javascript:_e({},
> 'cvml', 'python_inside_maya%[email protected]');>.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].


Reply via email to