All posts related to V2
By bjorn.syse
#317995
Hi!

I'm trying to use the script function to write a script (.ms-file), which when launched will render all the .mxs-files in the CURRENT FOLDER/SAME FOLDER as it resides in. I'm trying the following approach:

1. I have .ms script which loads the folder "\."
2. I have a windows .cmd file, which I've associated the .ms file extension to, and it will launch .ms files when double-clicked on.

I am not succesful in getting the Maxwell script know the current folder, or such. Is there a way to give a certain folder to a maxwell script without actually hard-coding it in the script file, which isn't very flexible?

best regards,.

- Björn
Sketchup 2026 Released

Thanks Fernando, Your suggestion works perfectly […]

Hello, I'm sorry for the late reply. Hopefully, t[…]

Hello Blanchett, I could reproduce the problem he[…]

Hello dear customers, We have just released a new[…]