Jump to content

Recommended Posts

Posted (edited)

is have to manually create a line to get the length i needed between 2 points

is there easier way or lisp to just copy the length of a LINE and i can paste it to anywhere? like excel or text??

Edited by ScoRm
Posted (edited)

"Properties"  click line just "copy" Length. Ctrl+C

 

or 

 

"List" click line again just copy length use F2 to see.

 

Other objects support length.

 

 

Edited by BIGAL
Posted
10 minutes ago, BIGAL said:

"Properties"  click line just "copy" Length. Ctrl+C

 

or 

 

"List" click line again just copy length use F2 to see.

 

Other objects support length.

 

 

that is exactly what i am doing boss, i was hoping to find an easier way.

but still thank you.

Posted

Ok there is copy to clipboard you will need to get the length property, a circle is circumference.

 

 

(defun c:test ( / dist)
(setq dist (distance (getpoint "\nPick p1")(getpoint "\nPick p2")))
(vlax-invoke
	(vlax-get
		(vlax-get (setq 2ClipB (vlax-create-object "htmlfile"))
			'ParentWindow
		) 'ClipBoardData )  'SetData "Text" (rtos dist 2 2)
	)
)

 

 

Posted
13 minutes ago, BIGAL said:

 


(defun c:test ( / dist)
(setq dist (distance (getpoint "\nPick p1")(getpoint "\nPick p2")))
(vlax-invoke
	(vlax-get
		(vlax-get (setq 2ClipB (vlax-create-object "htmlfile"))
			'ParentWindow
		) 'ClipBoardData )  'SetData "Text" (rtos dist 2 2)
	)
)

Wow! this is actually easier now! thanks kind sir!

 

 

  • Like 1
Posted

No worries just had to find it. I would change the get point to a entsel and get length so can do plines etc.

Posted (edited)

It looks like BIGAL has gotten you pretty well squared away already, late to the party!   :thumbsup:

Here is a rather Analog approach to the same task, but it spares one from having to draw, and or erase a line.

Or writing code which is above my pay-grade.  :beer:

 

Damn I created a GIF, but couldn't upload it.

At the top of your quick calculator you can select the Distance between points icon>

Select the points, then Copy the distance from the calculator window and paste it wherever you care to.

An old school Analog approach, for those of us who don't write code.

 

Upload failure message looks like this.

image.thumb.png.3cb8e52b260149b6876e285f847732c6.png

Edited by Dadgad
typos & trying to attach GIF again. 243kb won't attach?
Posted

Damn I created a GIF, but couldn't upload it.

 

I have same problem which is why I don't post animations as much as I would like to.

  • Like 1
Posted

That's too bad.

But thanks for letting me know BIGAL.It was well below the attachment limit? 

I must have tried about 4 times, figured I had done something wrong as it was small enough.   :|

 

Looked like it was and said UPLOADING...until  :nono:  Ah well,sorry it doesn't work.   :beer:

Posted

rkmcswain Dont want to hi jack this post maybe move to correct location any ideas why gif will not post ? They run and can be emailed.

 

What software do you use not a pre made like example.

Posted

I'm using Ace Thinker Screen Grabber Pro, other people are able to open and view them,

and like BIGAL said, I email them with no problems? 

I usually post lots of screenshots, it would be nice to be able to upload GIFS too.

Thanks for rising to the challenge and checking it out.   :beer:

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