Re: [Maya-Python] How do I make maya 2015 font bigger by stylesheet ?

2016-10-27 Thread Fredrik Averpil
We're manipulating the MayaStrings file for Maya 2015: https://www.youtube.com/watch?v=1lidN_bJSS0 -- 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

[Maya-Python] Domestic Cleaning services in Bangalore

2016-10-27 Thread busybizz bizz
Domestic Cleaning services in Bangalore/ Cleaning Services in Bangalore *Cleaning Services in Bangalore - List of expert cleaners in Bangalore and cleansing businesses, businesses, price, contact addresses, smartphone numbers, person

[Maya-Python] Painting Contractors in adugodi

2016-10-27 Thread busybizz bizz
Painting Contractors in adugodi List of top painting services, works, companies in Bangalore and get painting price, companies contact addresses, phone numbers, ratings and evaluations right away on busybizz.com

[Maya-Python] Help with a closure in Maya and Python.

2016-10-27 Thread Padraig Ó Cuínn
Hi everyone. I am trying to figure a way out of exiting a closure and executing the nested function within it. So far I have only seen on the net closures within the 1 file. let me show you what I mean. #File_1 def pressButton(): for nodes in file_2.selection(): print nodes

Re: [Maya-Python] Using strings as a check in __init__?

2016-10-27 Thread Alok Gandhi
> > I am not very familiar with using the underscores, in this case, public > and private variables, as a matter of fact. If you read my code, pretty > much everything is not of private variables. Sure, I understand. Please note that nothing is really private in python. There is nothing to

Re: [Maya-Python] How do I make maya 2015 font bigger by stylesheet ?

2016-10-27 Thread Justin Israel
Ah sorry. I misread and was actually looking at the ChannelBox and not the Outliner, like you asked. I don't know how effect the Outliner off hand. it is free to ignore QFont and stylesheet settings, and draw however it wants in its own implementation. Justin On Fri, Oct 28, 2016 at 1:41 PM

Re: [Maya-Python] How do I make maya 2015 font bigger by stylesheet ?

2016-10-27 Thread oglop
yes I have tried that, it does not affect outliner font either. And it does not change font size on the top edge of viewport while CSS method works for that. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To

Re: [Maya-Python] How do I make maya 2015 font bigger by stylesheet ?

2016-10-27 Thread Justin Israel
Stylesheets may not be the most reliable way. Have you tried just playing with the Application font? font = QtGui.qApp.font() font.setPixelSize(16) QtGui.qApp.setFont(font) ​ Justin On Fri, Oct 28, 2016 at 10:06 AM oglop wrote: > It seems I can use this to make most ui

Re: [Maya-Python] Re: When to use Logical Indicies over Physical Indicies

2016-10-27 Thread Cedric Bazillou
#So i did a quick test and i post a incorrect answer previously: import maya.cmds import maya.OpenMaya targetNode = maya.cmds.createNode('transform') maya.cmds.addAttr(targetNode, ln='input', m=True, v=True) for index in [12, 13, 16, 23]:

[Maya-Python] How do I make maya 2015 font bigger by stylesheet ?

2016-10-27 Thread oglop
It seems I can use this to make most ui font bigger, but not for outliner. from PyQt4 import QtGui app = QtGui.QApplication.instance() styleSheet = ''' * { font: 16px; } ''' app.setStyleSheet(styleSheet) I tried to get qt object of outlinerPanel1Window and called setFont() on it, but it

Re: [Maya-Python] Re: When to use Logical Indicies over Physical Indicies

2016-10-27 Thread Cedric Bazillou
I dont have maya at work but from what you wrote i think you understood it the reverse way your physical index are 12, 13, 26. Maya when it will process the datablock work on them in a sorted order so the logical index 0 will refer to physical index 12 (1 -> 13) and so on. > >> > -- You

Re: [Maya-Python] Using strings as a check in __init__?

2016-10-27 Thread likage
@Justin Truth be told, initially I wrote it as: if self.state == self.STATE_ROOT_SELS: # Run function_A() if self.state == self.STATE_USER_SELS: # Run function_B() There was no `else` and then before posting my thread, I rewrote it to using `if...elif...` but am unsure whether if I should

Re: [Maya-Python] Using strings as a check in __init__?

2016-10-27 Thread Alok Gandhi
Sorry about the slight typo in the last code I posted, should be super(HierarchyDialog, self).__init__(parent=parent) -- 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

[Maya-Python] Re: Python screenshot

2016-10-27 Thread jonn
http://www.cgdzg.com/maya-screenshot/ 在 2016年10月6日星期四 UTC+8下午5:00:54,3da...@gmail.com写道: > > Hi >Anyone knows any existing library or quick method to do a screenshot > using python. I should be able to select a region to be screen grabbed. Am > looking for an option on windows. > > thanks >