hardwell3458 Posted January 21 Posted January 21 Hi, I need a smart and dynamic offset Lisp when drawing electrical projects. polyline will follow the wall. Like in the video. ScreenRecording_01-20-2026 22-20-40_1.mov Quote
ScottMC Posted January 21 Posted January 21 (edited) Here's a useful Lee.Mac Power.tool TotalLengthPolylineV1-0.lsp Edited Thursday at 11:51 AM by SLW210 Removed Code Not placed in Code Tags as already attached the file!!! 1 1 Quote
BIGAL Posted January 21 Posted January 21 (edited) I did something for water pipes or electric cables in a road, it just allows you to follow line segments, with a predefined offset. I am not sure though in your last bit of Video if you want to enter the length of the last leg, can you clarify that. The code I have draws a full last length. @ScottMC not sure that overall length is required. Just a ps did you mean to post the actual code as you have the lisp file to download. Edited January 21 by BIGAL 1 Quote
hardwell3458 Posted January 22 Author Posted January 22 Thank you for your answers. The Lisp code you described might be useful, but as you said, when traversing areas like walls or columns, it offsets the line by 6 units, and if there's a pre-drawn, offset line, it follows it all the way to the end. Could you share your code? @BÜYÜK Quote
hardwell3458 Posted January 22 Author Posted January 22 I've included another video as an example. smart offset.mp4 Quote
BIGAL Posted Thursday at 11:44 PM Posted Thursday at 11:44 PM (edited) Trying to find it again. Give this a try. You pick points in sequence it will draw offsets, make sure you press Enter to finish picking points as it will fillet all the offset segments. offset sides pline.lsp Edited Friday at 12:11 AM by BIGAL 2 Quote
hardwell3458 Posted 1 hour ago Author Posted 1 hour ago Thank you, but it didn't work in this form. @BÜYÜK Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.