techartorg / MXSPyCOM

A modern version of MXSCOM, to allow for editing & execution of 3ds Max MaxScript and Python files from external code editors.
MIT License
176 stars 23 forks source link

"The Specified file does not exist on drive" - Pycharm #6

Closed RyanDanielJackson closed 5 years ago

RyanDanielJackson commented 5 years ago

It appears spaces in file names or in the directory name seem to break the plugin, tested over several projects with and without spaces and removing the spaces seems to fix the issues.

JeffHanna commented 5 years ago

To use a script filepath that contains spaces in directory and/or filenames please ensure the external tool configuration in your code editor of choice has double quote characters around the editor's filename variable. For instance, in PyCharm (which is the editor I believe you use) the argument entry for the external tool would be: -s "$FilePath$"

With that done MXSPyCOM will work correctly.