Goattail Posted August 4, 2021 Posted August 4, 2021 Hi! I was wondering if there is a way i could create a custom line type that has marks on the ends( dots or a crossing line ) . I've had a problem with seeing the ends of lines in a continuous parallel polyline\lines. I need it for a comfortable work and it seems like the only way is to create a Line type for this. Any suggestions are really appreciated, If you have any ideas on how to do this or how to make ends visible without creating a linetype for this. 1 Quote
tombu Posted August 5, 2021 Posted August 5, 2021 Not with an AutoCAD linetype but those end marks could either be added with lisp or used to create the lines with end marks on a specific layer and properties. 1 Quote
BIGAL Posted August 6, 2021 Posted August 6, 2021 (edited) Like tombu maybe a block with a wipeout insert on say both ends. Then original line has true length. A image etc would be good. Edited August 6, 2021 by BIGAL Quote
tombu Posted August 6, 2021 Posted August 6, 2021 Rereading your post you're only wanting the polyline endpoints identified to make working with them easier I'd insert an × block or Mtext scaled to be visible for current annotation scale at the endpoint on a noplot layer (I use Work layer for that) as described in this link. https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-do-you-get-the-start-and-end-point-of-a-given-polyline/td-p/828941 Assuming you don't want them at every vertex. Let us know if that's correct and what layer you want to put them on. It's only for you so if you want something different ask before we code it. Quote
Goattail Posted August 11, 2021 Author Posted August 11, 2021 On 8/6/2021 at 2:29 PM, tombu said: Rereading your post you're only wanting the polyline endpoints identified to make working with them easier I'd insert an × block or Mtext scaled to be visible for current annotation scale at the endpoint on a noplot layer (I use Work layer for that) as described in this link. https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-do-you-get-the-start-and-end-point-of-a-given-polyline/td-p/828941 Assuming you don't want them at every vertex. Let us know if that's correct and what layer you want to put them on. It's only for you so if you want something different ask before we code it. Hi, yes but i need it at the end of each vertex, because i want to easily find parts of the polyline i need. Any way to mark the ends will do. Quote
Goattail Posted August 11, 2021 Author Posted August 11, 2021 On 8/5/2021 at 4:09 PM, tombu said: Not with an AutoCAD linetype but those end marks could either be added with lisp or used to create the lines with end marks on a specific layer and properties. I'm not good enough to be able to write my own lisp and i cant find any existing in the web. I also didn't really understand the second option you were talking about, can you go into some detail for me? Quote
tombu Posted August 11, 2021 Posted August 11, 2021 A quick Google search for "insert block vertices AutoCAD Lisp" returns 84 results https://www.google.com/search?q=insert block vertices AutoCAD Lisp Picking those polylines highlights square grips on each of those vertices. Wouldn't that help? GRIPS (System Variable) https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-97AD30F3-A1A3-4027-91B7-49008841A447 Value Description 0 Hides grips 1 Displays grips 2 Displays additional midpoint grips on polyline segments To adjust the size of the grips and the effective selection area used by the cursor when you snap to a grip, use GRIPSIZE (System Variable) https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-5F355F5F-0DDE-49B4-B253-C6BA717BAF8B 1 Quote
BIGAL Posted August 12, 2021 Posted August 12, 2021 "Any way to mark the ends will do", osnap end only as you hover a square will appear osmode 1, also pickbox say 5 make bigger or smaller to suit. A simple defun can be created to do this or shift+right mouse button. 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.