Sweeping family on Dynamo axis

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