# Layout By Path [GstarCAD 2012](../../Index.md) → [User Guide](../%28User%20Guide%29.md) → [GstarCAD 2012 EX New Feature](%28GstarCAD%202012%20EX%20New%20Feature%29.md) ## LayoutByPath Unlike common array function, LayoutByPath distributes object copies along a path (curve) with a variety of array options. Users can choose random,division and measure options and array in different directions along the path.You can access from: **Menu****:** Express tools\>Edit\>Layout by path **Command Entry****:** Layouthbypath For example, on mapping drawing, we can apply this tool to array the discontinuous central axis of the road or highway as shown bellow: ![](../../assets/ICAD_IUG/images/Layout%20By%20Path%201.jpg) After started the command Layoutbypath,a message will display in the command line\>Please select the object to array: ![](../../assets/ICAD_IUG/images/Layout%20By%20Path%202.jpg) After select the object, a prompt message will display:Please specify the base point: The base point is the point where you want to start doing array from the object. We can select the low left end point of this object: ![](../../assets/ICAD_IUG/images/Layout%20By%20Path%203.jpg) After select base point of the object, a prompt message will display: Specify the object’s direction along the curve\<Y axis of WCS\>: This message is important because this will play with the object’s direction along the path. Because we select the end low point of the object as base point, we have to specify a parallel point direction to keep the object parallel along the path (long green line): ![](../../assets/ICAD_IUG/images/Layout%20By%20Path%204.jpg) ![](../../assets/ICAD_IUG/images/Layout%20By%20Path%205.jpg) After specify the object’s direction, a prompt message will display: Please select the curve: Then select the long green line. This line is the curve or path that the object will follow: ![](../../assets/ICAD_IUG/images/Layout%20By%20Path%206.jpg) After select the curve or path, a prompt message will display: Specify select along which side of the curve \<left side or forward direction\>: This message is also important because we will specify the side which the object will be array. For example, we specify left side of the curve as shown the follow picture: ![](../../assets/ICAD_IUG/images/Layout%20By%20Path%207.jpg) After specify the side of the curve, a prompt message will display: Select the method Random (R) / Division (F) / Measure (D): There are three options random, division and measure: **Random**: This allows to array the selected object along the path in a specify point according to user’s need. **Division**: This allows to array automatically the selected object along the path by inputting the number of objects. **Measure**: This allows to array automatically the selected object along the path by inputting the distance value. For example, if we do not know the distance between objects but we know the objects quantity, we can select the option Division: After select the option, a prompt message will display: Enter the number:And we enter the value 11 After enter the value, a prompt message will display: Pick a point on the curve as start point (Distribute from the end curve when selection is empty): Then pick one of the end points of the curve: ![](../../assets/ICAD_IUG/images/Layout%20By%20Path%208.jpg) After pick the point of the curve, you will get accurate result: And also you can repeat the same array option for the other blue central axis of the road. ![](../../assets/ICAD_IUG/images/Layout%20By%20Path%209.jpg) --- Suzhou Gstarsoft Co., Ltd