Railing sketch path - detail curve offset

Hi. I’m trying to annotate pattressing locations for railing supports by using the sketch path of the railing to create a detail line in Revit. I can do this successfully if the detail line is exactly on the line of the railing’s sketch path. Ideally I would like to offset the detail line from the railing so that it shows within the neighbouring wall build-up - is this possible?
Simply offsetting the line in Dynamo returns correct and incorrect results.
Thanks