Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

Community
Maya Programming
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya SDK topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get the Widget containing the renderd Image from Mayas Render View

0 REPLIES 0
Reply
Message 1 of 1
Simon.weck
178 Views, 0 Replies

Get the Widget containing the renderd Image from Mayas Render View

Hello everyone, 

I am trying to make an experimental tool that modifies the existing Maya Render View and swaps out the current rendered Image. I want to get the widget that contains the rendered image and change it. 

I got the Render View Dialog through MQtUtil with this code: 

Unbenannt.jpg


I looked through all children of the Render View and tracked the widget that seems to contain the rendered image down to a QWidget. The problem ist that this widget has no children and there is no QImage or a similar widget that actualy displays the rendering. 

I also removed all of the widgets in the dialog that wont remove the rendered image to make sure I dont miss anything. 

Unbenannt2.jpg

These are the widgets that are left in the dialog:

 
Unbenannt3.jpg

I also have a tool that prints the hirarchy of the widgets when hovering over it. When I hover over the renderd image I get this hirarchy. The widget at the top that has no Object name set is the widget that seems to contain the rendered image
 
Unbenannt4.jpg

Am I missing something or how can I get the widget that displays the rendered image?
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report