
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
i have an issue i want to make a lisp command to offset 2 polylines as an example i have a picture below.
the first are the polylines i need to offset. the second part is what i can get with a lisp i found online and the third picture is what i actually want.
the lisp i use for the bottom part is as follows:
(defun c:r4test ( / savesnap)
(setq ent (car (entsel "\nSelect polyline to offset: "))
pt (getpoint "\nSelect side to offset: "))
(foreach i '(distance 1 distance 2 distance 3 (command "._offset" i ent pt "")))
because i don't really know how to write these lisps i tried to add some for the line at the top. It seems not to be working and i cant really find an answer so far.
could someone explain what i would need to add to this lisp to also offset the top polyline?
Solved! Go to Solution.