Template Port - How to load a scene of another project
Posted: 15 Mar 2018, 22:18
Hi,
I need to load a template from another project. The master scene has a vertical ratio and the sub scene has a 16/9 ratio. They both have a different resolution.
Scene port node test
I was able to get the sub scene with the scene port node using a relative path that looks like that: .\..\(projectName)\Scenes\(sceneName)
But I can't achieve the same thing with the template port though.
I'm following the following structure: http://www.ventuz.com/support/help/V4_0 ... gTemplates
This is my current path that does not work. The important part is in the middle in bold. The backslash are now pipes as per the documentation.
ventuz://templates/.|..|169|ff/Anim/Quote
This is the full data that I'm trying to pass to the template node:
{
"@": "ventuz://templates/.|..|169|ff/Anim/Quote",
"Text": {
"Header": "333",
"SubHeader": "SubHeader",
"TextAddon": "Contrary to popular belief, aslkdjfl;kas jdfl;kajs dl;kfj sad;lijf ;lkasdj fl;kajsd f;lkjas dfl;kja sd;lfkj as;ldkjf a;lsdkjf ;lksajd f;lkjas d;lfkj asd;lkfj as;lkdfj ",
"Quote": "QUOTE TITLE\r\nLOREM IPSUM"
},
"Anim": {
"@": "ventuz://templates/.|..|169|ff/Anim/Quote",
"Text": {
"Text2": "Sub template"
}
}
}
I can't say that I understand everything about that path but the project is never specified so I'm assuming we are forced to use only the scenes which are part of the current project?
Is it possible to go get a sub scene from another project with the template node?
Thank you!
I need to load a template from another project. The master scene has a vertical ratio and the sub scene has a 16/9 ratio. They both have a different resolution.
Scene port node test
I was able to get the sub scene with the scene port node using a relative path that looks like that: .\..\(projectName)\Scenes\(sceneName)
But I can't achieve the same thing with the template port though.
I'm following the following structure: http://www.ventuz.com/support/help/V4_0 ... gTemplates
This is my current path that does not work. The important part is in the middle in bold. The backslash are now pipes as per the documentation.
ventuz://templates/.|..|169|ff/Anim/Quote
This is the full data that I'm trying to pass to the template node:
{
"@": "ventuz://templates/.|..|169|ff/Anim/Quote",
"Text": {
"Header": "333",
"SubHeader": "SubHeader",
"TextAddon": "Contrary to popular belief, aslkdjfl;kas jdfl;kajs dl;kfj sad;lijf ;lkasdj fl;kajsd f;lkjas dfl;kja sd;lfkj as;ldkjf a;lsdkjf ;lksajd f;lkjas d;lfkj asd;lkfj as;lkdfj ",
"Quote": "QUOTE TITLE\r\nLOREM IPSUM"
},
"Anim": {
"@": "ventuz://templates/.|..|169|ff/Anim/Quote",
"Text": {
"Text2": "Sub template"
}
}
}
I can't say that I understand everything about that path but the project is never specified so I'm assuming we are forced to use only the scenes which are part of the current project?
Is it possible to go get a sub scene from another project with the template node?
Thank you!