[Maya-Python] NodeEditor list connections Higlighted selections?

2022-08-04 Thread drchickins
Hi all, ok I'm fairly sure this is a big NO. but Ive been trying to find a way to list the connections highlighted inside maya''s nodeEditor. basically looking for the cmds.ls() equivalent. ned = mel.eval("getCurrentNodeEditor;") print(cmds.nodeEditor(ned, q=True ,sln=True)) this will get the

[Maya-Python] styleSheet on pushButton problem

2013-07-30 Thread drchickins
hi all, having a small issue with a simple pushButton change of color. so the stylesheet is this color = QtGui.QColor() color.setGreen(125) self.create_button.setStyleSheet( "QPushButton:checked { background-color: %s }" % color.name()) then i have a callba

[Maya-Python] Re: pyside and QUiLoader

2013-06-30 Thread drchickins
On Wednesday, 26 June 2013 17:55:08 UTC-7, drchickins wrote: > hi all, > > so i'm trying to get a signal from a .ui desiger file to connect with a call > which worked well in pyQt but pyside has the QUiLoader and i'm having trouble > getting it to recognise a button. k

[Maya-Python] Re: pyside and QUiLoader

2013-06-26 Thread drchickins
On Wednesday, 26 June 2013 17:55:08 UTC-7, drchickins wrote: > hi all, > > so i'm trying to get a signal from a .ui desiger file to connect with a call > which worked well in pyQt but pyside has the QUiLoader and i'm having trouble > getting it to recognise a button. k