Script error when running out of HDD space

I Stoked myself out of HDD space, and Stoke partitioning broke with a maxscript error - might be nice if it catches that not very unlikely situation :slight_smile:

I am not sure I could catch it correctly because the saving is performed in multiple background threads while MAXScript runs in the main thread. But I might be able to run some DotNet function to check for disk space and warn the user BEFORE the saving of a partition begins if the disk space is below certain threshold.

That should be helpful.