Jump to content

Recommended Posts

Posted

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.

  • Like 1
Posted

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.

  • Like 1
Posted (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 by BIGAL
Posted

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.

Posted
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.

Posted
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?

 

Posted

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

 

  • Like 1
Posted

"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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...