mhupp Posted February 8, 2023 Posted February 8, 2023 Sorry for flaking IRL stuff has come up. upload your test drawing. Quote
CFORD Posted February 8, 2023 Author Posted February 8, 2023 No worries hope everything ok. Sorry for chasing up. I put the result of the UFP command in the file as well. Changing the fence line process.dwg Quote
mhupp Posted February 8, 2023 Posted February 8, 2023 (edited) This should do it select two polylines obj1 obj2 offset obj1 in 2 feet checks if offset only created 1 polyline gets the geocenter of offset polyline p1 uses boundary command with new point to create a boundary (offset + boundary = area you want) gets bulg information from boundary poly p2 deletes 2 ft offset poly p1 updates polyline obj2 with boundary cords of poly p2 deletes boundary polyline p2 updates bulg info to obj2 -Edit You might have to isolate the two layers for the boundary to work correctly tho it is set to ignore islands. Also since im using BricsCAD the boundary command might be diffrent in AutoCAD. (command "_.Boundary" "_A" "_I" "_N" "" "_non" cen "") use "-boundary" to Enter the choices at the command prompt -Edit layiso update UFP-iso.lsp Edited February 22, 2023 by mhupp 1 Quote
CFORD Posted February 9, 2023 Author Posted February 9, 2023 That works brilliantly thank you very much. I removed the "_non" from the boundary command and then it worked perfectly. (command "_.boundary" "_a" "_i" "_n" "" "" cen "") Thank you so much you are a hero 1 Quote
CFORD Posted February 21, 2023 Author Posted February 21, 2023 Hello Again Sorry that I keep coming back. You were right when you said it would be best to layiso the lines first I was wondering if there is a command that we can add into the lisp to, in a sense layiso the two lines selected and then turn on all the layers that were previously on. I understand that I could do LayOn but I was wondering if there was a way of doing it without turning everything back on and just having the layers that were turned on before? Many thanks in advance Quote
mhupp Posted February 22, 2023 Posted February 22, 2023 I am indisposed for the next couple of weeks/month. if the update I made doesn't work someone is going to have to take a crack at it. 1 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.