Page 1 of 1

Ventuz project default file path

Posted: 04 Feb 2016, 12:56
by Luke47921
I'm trying to access some data that is stored within the project folder, and I don't want to use a specific path so that I can move my project folder around. If I choose the path from within the node using the file browser, I get the path ventuz://Data/Data.txt, which works within the designer. However, if I export the project to a presentation and run it (still from withing the same project folder), the path doesn't seem to work (It will work if I use a direct path, for example: C:\Users\Public\Documents\Ventuz4\Projects\ProjectName\Data\Data).

Is this something that I'm doing wrong on my end, or is this a bug within Ventuz?

Re: Ventuz project default file path

Posted: 04 Feb 2016, 13:18
by lerou
use the url node. Set it to FILE. Use ".\Images\image.png". This will always resolve to the correct path relatove to the project or later the VPR. So the important part being the dot in the filename.

Best,
rou

Re: Ventuz project default file path

Posted: 04 Feb 2016, 13:32
by Luke47921
The . at the start actually stopped it from working, but using \Images\image.png in the url node set to file works great.

Thanks!

Re: Ventuz project default file path

Posted: 05 Feb 2016, 15:11
by Luke47921
Turns out I'm still having a problem, this works fine in the designer, but won't work when it's exported as a presentation. Any idea why?

Re: Ventuz project default file path

Posted: 05 Feb 2016, 15:57
by chriss0212
you need to put the vpr into the ventuz root path.

greetz

christian

Re: Ventuz project default file path

Posted: 05 Feb 2016, 16:05
by Luke47921
Great, thanks!

Re: Ventuz project default file path

Posted: 05 Feb 2016, 16:32
by chriss0212
just in case:

i wrote:

Code: Select all

you need to put the vpr into the ventuz root path.
i meant of course the project root path ;)

greetz

Re: Ventuz project default file path

Posted: 05 Feb 2016, 16:35
by Luke47921
Haha yeah that confused me for a second but I figured you meant project root :)