I've tried both stubs from devkit 2022 and from mayapy vscode plugin. Have 
to admire that mayapy stubs are way better documented and comfortable to 
work with. 
Just grab them 
in C:\Users\username\.vscode\extensions\fxtd-odyssey.mayapy-1.0.4\mayaSDK 
and copy somewhere or set path to this folder in pycharm. 

пятница, 21 октября 2022 г. в 19:58:19 UTC, michalberez...@gmail.com: 

> I have two solutions for that,
>
> First, if you are using Visual script code, you could just download the 
> MayaCode and Mayapy plugins and you are good to go! (Alternatively, you can 
> grab their stub files)
> Second, definitely more difficult one, generate the stub files yourself, 
> You could go to the Pymel Github and in maintenance follow the steps (Step 
> 6 
> <https://github.com/LumaPictures/pymel/tree/master/maintenance#6-build-stubs-new>)
>  
> to generate your own stub files
>
> I hope this helps :)
> On Wednesday, 5 October 2022 at 21:41:10 UTC+1 Bradley Newman wrote:
>
>> The Maya 2022 devkit contained PyMEL completion stubs in the 
>> folder: 
>> Autodesk_Maya_2022_4_Update_DEVKIT_Windows\devkitBase\devkit\other\Python27\pymel\extras\completion\py
>>
>>  
>>
>> In the Maya 2023 devkit this folder is missing. 
>>
>> Maya 2022 I believe had PyMEL 1.2, while Maya 2023 has PyMEL 1.3. Is it 
>> OK to just substitute the 1.2 stubs in something like PyCharm to setup 
>> autocompletion for PyMEL 1.3?
>>
>

-- 
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/fb3260f5-76dd-4802-92fe-50b0fdb80775n%40googlegroups.com.

Reply via email to