Create Dimension from Line

see this topic