Open ronnyascencio opened 7 months ago
what is the syntax for relative paths in katana?
project.dir + "path relative to the project "
it depens if is a folder stream up or down like an example :
C:/Users/user/projects/kat/assets/3d/shark.abc project.dir + "/assets/3d/shark.abc"
C:/shared/assets/3d/water_surface.abc project.dir + "/./../../../shared/assets/3d/water_surface.abc"
sorry I didnt mean that, I know what a relative path means :D I meant is there a special syntax for that? I have seen in Gaffer somethins like: {projectRoot}/SomePath/anotherDir/ Whereas in Maya we just start without a volume label or / and it resolves it against the defined project like: sourceimages/somepath.tx
is there a special syntax like that for Katana?
well dont think so, i just use that :D as an expresion
@masqu3rad3
sorry I didnt mean that, I know what a relative path means :D I meant is there a special syntax for that? I have seen in Gaffer somethins like: {projectRoot}/SomePath/anotherDir/ Whereas in Maya we just start without a volume label or / and it resolves it against the defined project like: sourceimages/somepath.tx
is there a special syntax like that for Katana?
In Katana the equivalent of Gaffer's {projectRoot]
is project.dir
, unless i misunderstand your question
@vNicolini yes, that was what I was looking for, thanks for that :)
Is your feature request related to a problem? Please describe. when import cene or asset to katana turn all paths manually to relative paths is a pain
Describe the solution you'd like when we import from UI tik maybe we can chose the option to make it relative or not
Describe alternatives you've considered this could be done adding an expression when the node importomatic or usd in is created because already the project is set is possible to use relative to the project