Selecting Revit Reference Lines

hi,
add a parameter to the length of the reference lines and control the line through the parameter

like in this post: