Relative Path to dependencies
- schwarzgrau
- Posts: 1238
- Joined: 23 Jan 2012, 22:08
- Location: Offenbach / Germany
- Contact:
Relative Path to dependencies
I'm working on more than one computer, but always keep the whole folder structure in sync. Unfortunately I have to relink all dependencies every time I switch the computer, cause their path seems to be absolute. I know I could implement all dependencies in the project, but often it would get a huge file. So I thought maybe their could be a way to choose if the path is absolute or relative. Maybe a little checkbox in the import-window.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
- NathanOtano
- Posts: 1209
- Joined: 01 Apr 2014, 07:07
- Location: Biarritz, France
- Contact:
Re: Relative Path to dependencies
I also really need this, same for the scripts libraries and configs
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Re: Relative Path to dependencies
try this:
tv_GetPath
Path = result
tv_warn "path = " Path // see what it gives you
then experiment with the command and any of these arguments:
tv_GetPath HOST|TEMP|CONFIG|PLUGIN|GEORGE
for example:
tv_GetPath "george"
GeorgePath = result
tv_warn "GeorgePath = " GeorgePath
you can concatenate the resulting GeorgePath-variable and your George Script name so you can load the same script on either of your systems.
Now see if this lets you use the same, unchanged button/script on both systems.
Sven
tv_GetPath
Path = result
tv_warn "path = " Path // see what it gives you
then experiment with the command and any of these arguments:
tv_GetPath HOST|TEMP|CONFIG|PLUGIN|GEORGE
for example:
tv_GetPath "george"
GeorgePath = result
tv_warn "GeorgePath = " GeorgePath
you can concatenate the resulting GeorgePath-variable and your George Script name so you can load the same script on either of your systems.
Now see if this lets you use the same, unchanged button/script on both systems.
Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
- NathanOtano
- Posts: 1209
- Joined: 01 Apr 2014, 07:07
- Location: Biarritz, France
- Contact:
Re: Relative Path to dependencies
Svengali wrote:try this:
tv_GetPath
Path = result
tv_warn "path = " Path // see what it gives you
then experiment with the command and any of these arguments:
tv_GetPath HOST|TEMP|CONFIG|PLUGIN|GEORGE
for example:
tv_GetPath "george"
GeorgePath = result
tv_warn "GeorgePath = " GeorgePath
you can concatenate the resulting GeorgePath-variable and your George Script name so you can load the same script on either of your systems.
Now see if this lets you use the same, unchanged button/script on both systems.
Sven
Ah! Nice
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.