Message 1 of 28
🙏🏿 How to redraw the block of a neighborhood when selecting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello 👋😀
I am trying to create a lisp routine that when selecting a block of a neighborhood the same block of the neighborhood is drawn but on top of the previous one, in several separate polylines using the name layer: L1RF, color: Yellow.
Then I need them to be offset by giving these two distance options (3.25 or 2) and ask where the offset is going to be, if inside or outside and when they are created using the name layer: L2AI color: 30.
I did this, but I do not want to select the corners of the block, I wish that when selecting the whole process to be executed previously explain.
(setq pt1 (getpoint "\nFirst point:"))
(setq pt2 (getpoint "\nSecond point:"))
(setq pt3 (getpoint "\nThird point:"))
(setq pt4 (getpoint "\nFourth point:"))
(command "_pline" pt1 pt2 "")
(command "_pline" pt2 pt3 "")
(command "_pline" pt3 pt4 "")
(command "_pline" pt4 pt1 "")
(command "_offset")
I hope you understand me, ask any questions.
Thank you very much for reading my message.
Greetings.