Goldmine! Too bad they aren't updated at run-time, at least not some of
them, like polyCount. But I can see why and it's still amazing. Thanks!

On 8 October 2014 22:00, Justin Israel <[email protected]> wrote:

> cmds.optionVar(list=True)  ?
>
>
>
> On Thu, Oct 9, 2014 at 8:21 AM, Marcus Ottosson <[email protected]>
> wrote:
>
>> Brilliant, thanks Damon.
>>
>> Do you know if there's some reference to which variables are available as
>> option-vars?
>>
>> On 8 October 2014 19:37, Justin Israel <[email protected]> wrote:
>>
>>> Ah yea that rings a bell now
>>>  On 9/10/2014 7:31 AM, "damon shelton" <[email protected]> wrote:
>>>
>>>> hit send too soon
>>>> cmds.optionVar(q='RecentFilesList')
>>>> cmds.optionVar(q='RecentProjectsList')
>>>>
>>>> these return 0 if nothing in list
>>>>
>>>> On Wed, Oct 8, 2014 at 11:29 AM, damon shelton <[email protected]
>>>> > wrote:
>>>>
>>>>> it is stored in an optionVar
>>>>>
>>>>> cmds.optionVar(q='RecentFilesList')
>>>>>
>>>>> On Wed, Oct 8, 2014 at 11:17 AM, Justin Israel <[email protected]
>>>>> > wrote:
>>>>>
>>>>>> I messed with that at my last studio but I don't remember exactly. It
>>>>>> was via actual Mel procs, and not something exposed in the python API, I
>>>>>> think. You make need to bust out some whatIs Mel commands to track down 
>>>>>> the
>>>>>> source of that menu.
>>>>>>  On 9/10/2014 12:46 AM, "Marcus Ottosson" <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> Does anyone know if there is any way of getting a hold of the items
>>>>>>> under File -> Recent Projects or Recent Files?
>>>>>>>
>>>>>>> Neither cmds.file nor cmds.workspace seem to do the trick, and the PyMEL
>>>>>>> docs
>>>>>>> <http://download.autodesk.com/us/maya/2011help/PyMel/search.html?q=recent&check_keywords=yes&area=default>
>>>>>>> isn't showing anything either.
>>>>>>>
>>>>>>> Best,
>>>>>>> Marcus
>>>>>>> ​
>>>>>>> --
>>>>>>> *Marcus Ottosson*
>>>>>>> [email protected]
>>>>>>>
>>>>>>> --
>>>>>>> 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/CAFRtmOA1Om0_RHXjF%3Ds%3DzEL4ttaYa%3DLiMA4cekP8AEt-%3DmYAhg%40mail.gmail.com
>>>>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOA1Om0_RHXjF%3Ds%3DzEL4ttaYa%3DLiMA4cekP8AEt-%3DmYAhg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>  --
>>>>>> 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/CAPGFgA3JCDE%3D3JbmjrBBN7vtwFNfhJhdNjvRNdT60h2R8VzUXg%40mail.gmail.com
>>>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA3JCDE%3D3JbmjrBBN7vtwFNfhJhdNjvRNdT60h2R8VzUXg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>  --
>>>> 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/CAM9RXoJ8p5q0v5mTYCrphM3c-WPVFEYOOgXHYn3aoxznyonOxg%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/python_inside_maya/CAM9RXoJ8p5q0v5mTYCrphM3c-WPVFEYOOgXHYn3aoxznyonOxg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>  --
>>> 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/CAPGFgA37U0T3YDogXqEx8rnAYrgH5LNM-0mrKwLctZHDq-E6vQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA37U0T3YDogXqEx8rnAYrgH5LNM-0mrKwLctZHDq-E6vQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> *Marcus Ottosson*
>> [email protected]
>>
>> --
>> 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/CAFRtmOD%2BML5e3UqPcaoM4ZuqTGdbhM062uh7uDT8_GfiMD5pEw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOD%2BML5e3UqPcaoM4ZuqTGdbhM062uh7uDT8_GfiMD5pEw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> 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/CAPGFgA0N%3Da_kb_Opm-xvWuqvOWZy_kB7fOuHQRFtpnMnvh6jdg%40mail.gmail.com
> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA0N%3Da_kb_Opm-xvWuqvOWZy_kB7fOuHQRFtpnMnvh6jdg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
*Marcus Ottosson*
[email protected]

-- 
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/CAFRtmODcOMaEGU%3DoKSnhGDAOSe-sj%3Ds61Dc75F-xWmcixrLSkw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to