Hi Justin, thank you for getting back.

As for the DockWidget() class method you have provided, sadly it does not 
seems to be working for me. Getting the same issue (signal not getting 
called) as soon as `self.ui.setupUi(self)` is implemented.
-----

I tried using the following in my main.py for the `cmds.undoInfo` as 
follows:

def create_custom_script_jobs(self):
    ...
    cmds.undoInfo(chunkName='MyTool_chunkName', openChunk=True)

def remove_custom_script_jobs(self):
    ...
    cmds.undoInfo(chunkName='MyTool_chunkName', closeChunk=True)


It seems that I am the undo actions are not getting compress into 1 
action... Am I doing it wrong?
Also tried implementing the above code in my execution code, not seeing any 
diff...

-----
Noted on the global usage for script jobs tracking.

As for the selections, I made it that way because, I need to achieve 2 
things.
1. Whatever that is selected in the Maya context (image planes in this 
case), if found in the tool context, selects the said item in the tool 
(which is under QListWidget).
2. Selection made in the tool context - QListWidget (again, only the image 
plane selection), will be selected in the Maya context if found.

Basically a bi-directional selection between my tool and Maya. As you have 
suggested, upon the removal of the `cmds.select` in the `plane_selected()` 
seems to have did the trick in the key selection in Graph Editor! 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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/d08aae7f-cf31-499f-b629-4e1b284874a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to