hardwell3458 Posted Wednesday at 07:29 PM Posted Wednesday at 07:29 PM 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 Wednesday at 10:21 PM Posted Wednesday at 10:21 PM (edited) Here's a useful Lee.Mac Power.tool TotalLengthPolylineV1-0.lsp Edited 13 hours ago by SLW210 Removed Code Not placed in Code Tags as already attached the file!!! 1 1 Quote
BIGAL Posted Wednesday at 11:10 PM Posted Wednesday at 11:10 PM (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 Wednesday at 11:13 PM by BIGAL 1 Quote
hardwell3458 Posted 19 hours ago Author Posted 19 hours ago 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 18 hours ago Author Posted 18 hours ago I've included another video as an example. smart offset.mp4 Quote
BIGAL Posted 1 hour ago Posted 1 hour ago (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 53 minutes ago by BIGAL 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.