Jump to content

Add a point at specific distance from the end of line/poly/spl that was clicked on?


Recommended Posts

Hello.

 

Is there a command that would simply measure the entity from the end it was clicked on to the user specified length and add a point at that measurement?

Something like MEASURE command but with just one point.

 

 

Thank you.

 

N02xsHIJOSUV3vjgDo68XXquPkXORrA4Cp9iT30by88F8FALwhaAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACm+B9PIg5gEl09IQAAAABJRU5ErkJgggA=

Measure - one point.PNG

Measure - one point.dwg

Edited by vanowm
brain fart, it's MEASURE command, not DIVIDE
Link to comment
Share on other sites

Thank you for the reply.

 

I meant to say "like MEASURE command" not DIVIDE...:facepalm:

 

Anyhow "FROM" gets coordinate towards cursor, not along side of the entity.

 

I've updated my original post.

Link to comment
Share on other sites

Using a lisp there is the VL command "getpointatdist"

 

(setvar "osmode" 0) ; turn off snap
(setq obj (vlax-ename->vla-object (car (entsel "\nPick "))))
(setq pt (vlax-curve-getPointAtDist obj 100.0))

 

Note above uses start point so you need a check which end picked and then if required total length - distance from opposite end.

Link to comment
Share on other sites

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