did you used flages of cmds.about() ? On Mon, May 4, 2015 at 11:36 PM, Kenneth Ibrahim <[email protected]> wrote:
> Thx for the info here. That actually caused Maya to hang (on Mac) for some > reason. > > Anyway, I'm trying to get the serial number programmatically without > opening any dialog windows. > > On Mon, May 4, 2015 at 11:16 AM, Mahmoodreza Aarabi <[email protected]> > wrote: > >> hey >> >> from maya import cmds >> cmds.license(showProductInfoDialog=True) >> >> just this command works in maya 2016 >> >> >> On Mon, May 4, 2015 at 8:42 PM, Kenneth Ibrahim <[email protected]> >> wrote: >> >>> Simple question and hopefully 1 liner script answer :) >>> >>> How does one poll the serial number of the currently running Maya >>> session? >>> >>> I tried the command 'license' but need to extract the serial number from >>> the return unicode string given the 'info' option. That's fine though it >>> seems that they would provide selectors for specific information. >>> >>> I can go with this but it seems that all of the options to this command >>> have been deprecated in Maya 2016 so I'll need different approaches with >>> different versions. >>> >>> Thx! Ken >>> >>> -- >>> "God is a metaphor for a mystery that absolutely transcends all human >>> categories of thought. It's as simple as that!" - Joseph Campbell >>> >>> -- >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/python_inside_maya/CAP_aC5Z4rhUynyCxbtaP_uMtrtgpmGTpJMdyyLjS-FDt9k85iQ%40mail.gmail.com >>> <https://groups.google.com/d/msgid/python_inside_maya/CAP_aC5Z4rhUynyCxbtaP_uMtrtgpmGTpJMdyyLjS-FDt9k85iQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> >> >> Bests, >> madoodia >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/python_inside_maya/CADvbQwJJCBYAaXvquCMa4TRQ5ao1%2BHBZjOHb2JPdc92nt4oLww%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CADvbQwJJCBYAaXvquCMa4TRQ5ao1%2BHBZjOHb2JPdc92nt4oLww%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > "God is a metaphor for a mystery that absolutely transcends all human > categories of thought. It's as simple as that!" - Joseph Campbell > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/CAP_aC5ZAM_g%2B96f1_vwWnRDt8-MpSwKz%3DRjWmf2obDkG7_0BWA%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAP_aC5ZAM_g%2B96f1_vwWnRDt8-MpSwKz%3DRjWmf2obDkG7_0BWA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Bests, madoodia -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CADvbQwKPFNiS%3DRjcOapTkBO5dNd16k6CFJMJBHmB%3D%2BTih4%2BYXw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
