Tracing along Shape Path with Rounded Corners
I’m prototyping some design stuff and have hit a bit of a wall. It’s necessary for me to have control of line width vs corner radius and a few other options. I’ve got a template working well, apart from one thing.
I have a line with an arrowhead, it’s being traced with the built-in Trace Path script. However, after adding Round Corners to my line, the script is still referencing the original path, not the path with rounded corners.
I took the expression in the null generated by the script apart a bit and re-wrote the pathToTrace variable to reference
var pathLayer = thisComp.layer("Line_01");
var progress = thisLayer.effect("Pseudo/ADBE Trace Path")("Pseudo/ADBE Trace Path-0001")/100;
var pathToTrace = thisComp.layer("Line_01").content("Shape 1").content("Round Corners 1").path;
Cannot read property 'pointOnPath' of undefined
I presume this means Round Corners doesn’t contain a path? I’ve also tried similar with a Path Merge, both inside the shape group and outside.
Any thoughts on how I can “see” my path after it’s been rounded? I need to keep it editable so other designers can adjust it in the future.