This code divides selected objects into an lwpolyline with a specified number of segments of equal length. command: seg (enter) select object : s1 select object : (enter) .....after selection it converts the object into pline with specified segments(click the object and see the difference before and after.... )