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

Added support for Max 2017 (and probably earlier) #23

Open Trebor777 opened 1 year ago

Trebor777 commented 1 year ago

Hello, I created a method to get MaxVersion used in mxs_try_catch_errors method, in order to set a new flow for version < 2018. Reordered error messages for consistency. (error before stack). Used formatted strings instead of string.Format.

Tested on max 2017 et 2023.

JeffHanna commented 1 year ago

Please re-submit with tabs instead of spaces. Match the source file as you pulled it.

Trebor777 commented 1 year ago

Hello, I've converted back to tabs.