Dear Javi,
Have you searched for this at all yourself?
I see several promising hits just searching for "revit api column length":
https://duckduckgo.com/?q=revit+api+column+length
Cheers,
Jeremy
Check out the useful comments on
http://thebuildingcoder.typepad.com/blog/2009/02/inserting-a-column.html