For those following along.
It seems to work best if you use a profile with the origin on the outside of the profile (for testing I just used the stair nosing profile).
Use the profile width as the offset for the railing.
This will move it out from under the roof.
Set the rail connection to a 'Direct Connection' and use the profile width for extension 1 length.
You may need to do this for extension 2 length depending whether the railing was drawn clockwise or anti-clockwise.
The direction of the profile (which side of the origin it is on) will determine which direction you have to draw the railing (I think - I am still testing all of this).
One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10