Creation of Public Transit Line

I am new to cube software. I generated the network file in GIS. But I don’t know how to prepare the transit line. I want to know the process how to prepare the transit line in .lin format.