This is a great series taking you from start to finish in creating a piece of Revit parametric content. The Revit Project file is at the bottom of this webpage.