How do I create a line similar to railroad tracks

I want to create a line that looks like a set of railroad tracks - two rails and ties - or a single track with ties half as long as the 2 rail tracks would be.

I want to be able to use it the same as the lines that are installed with CDR 12 - scalable, editable points, curving, extend the length by pulling an end point, set point size , etc.

Basically anything I can do to and with an installed line, I want to do with my custom one.

Is this possible?