[Closed] pathConfig.convertPathToAbsolute
Hi,
I am creating a scripts for setting up 3dsMax projects and folders on our network drives, but I seem to have come across a small problem.
F.ex. I don’t want the #autoback folder to be created on the network, but instead keep this locally.
In my code I do
pathConfig.convertPathToAbsolute #autoback
which in the listener returns the absolute standard path “C:\Users<username>\Documents\3dsMax\autoback”, but this is not saved if I go into the Customize -> User Paths dialog box. There it is still listed as a relative path “.\autoback”. If I make it absolute in the User Paths dialog box it is sticky.
I’ve probably just overlooked something, but anyone know how to save and keep the absolute path from Maxscript?
I don’t have Max in front of me, but I think you have to do something like…
SetDir #autoback (pathConfig.convertPathToAbsolute #autoback)
Cheers,
Drea