Search the Community
Showing results for tags 'middle line'.
Found 1 result
Hi Everyone, Needed some help here. I needed a lisp that can create polyline at the middle of every two parallel lines that I selected. The subsequent polyline created will automatically chamfered with the previous created polyline. I'll try my best to illustrate below: When I select line A and line B a polyline will be created in the middle of the two lines. Then I continue to select line C and D another polyline will be created in the middle and it automatically chamfers with the previous created polyline (at distance 0) to form a continuos polyline, and so on. Refer to the 'After' image to understand the end result (generated polyline in green). However there are some issues that need to be tackled in order to achieve what I needed as follow: 1) The lines that I need to select (i.e. A to H) can be in the form of normal line, polyline, part of a rectangle and sometimes they are within a block or nested block. Hence I must be still able to select these lines individually instead of end up selecting the whole rectangle or block. 2) When comes to a T-junction situation there needs to be a way for me to choose which side (eg. left or right) the polyline should chamfer to. 3) I need an option/ button to switch to normal polyline command during the process, and also switch back to this lisp command as and when during the process. It would be very very helpful if such lisp can exist. Any help would be very much appreciated. Many thanks in advance!