Sweeping family on Dynamo axis

I was wondering how you can sweep a family profile over an Dynamo line.

For a start, you will find different dedicated nodes in the Dictionary:
http://dictionary.dynamobim.com/#/Geometry/Solid/Create/BySweep
See also this: