Author Topic: Unable to get full path from project.url()  (Read 885 times)

On linux running command line...I imagine the same thing could happen on MacOS.

If I
Code: [Select]
cd /location/of/substance/projectThen launch Substance Painter using
Code: [Select]
"/full/path/to/Substance Painter" project_name.spp
If I try to get the full path to the open project using
Code: [Select]
alg.fileIO.urlToLocalFile(alg.project.url()) I get "project_name.spp" rather than "/location/of/substance/project/project_name.spp".

Is there any way to get a full path rather than a relative one?

It's likely to be a bug, thanks.