Step 1: Create New Part File
Open the Solidworks and New part File. Draw something.
Step 2: Select Linear Sketch Pattern Tool
From the Sketch command manger, click on the Linear Sketch Pattern tool button.
Step 3: Enter Pattern Details in Property Manager
Then you can see the property manager box and enter the details for creating the line pattern.
Happy CADing! :)