PDA

View Full Version : Integrating PyCharm with LW11?



egearbox
10-25-2012, 07:22 AM
I'm trying to get JetBrains' Python IDE, PyCharm, working with Lightwave 11 (x64) on Windows 7. There doesn't seem to be a Python interpreter included directly with LW 11, but there's a suspicious-looking "python27.zip" file in the bin directory which looks like it might want to be expanded and installed somehow.

Ideally, I'd like to get PyCharm's features like Autocomplete, etc. working with all the cool Lightwave libraries.

Before I start hacking on my LW11 install, I thought I might ask if anybody's been down this road before and if I'm on the right track or completely off base?

Cryonic
10-25-2012, 02:53 PM
The python27.dll is what provides LW with a python interpreter (similar to the perlxx.dll when using PAR to create windows executables from perl scripts). In the zip file are all the different python library scripts (.py files) for various modules. Not sure what modules are doing the binding between python and the LWSDK.

egearbox
10-25-2012, 06:22 PM
Not sure what modules are doing the binding between python and the LWSDK.

Yes, that seems to be the "missing link" in this whole equation. Maybe one of the Python Gods will smile on us and point us in the right direction. In the meantime I'm off to download a separate Python interpreter... :)