Jump to content

Coordinates from Text


Juergen

Recommended Posts

Hi everybody!
I found the lisp EXT in a forum, that write the coordinates from
text into a .csv file.

 

Who can help me do add the text rotation after Text Value.

 

Thanks for your help.

EXT.LSP

Link to comment
Share on other sites

Thought I would give you most of the answer its two parts 

 

Angle is (50 . 0.816225398858982) ie (cdr (assoc 50 eb)) but this is radians no matter what your settings.

 

so (defun rtd (a)(/ (*  a 180.0) pi)) converts radians to degrees. 

 

You should be able to work out the rest in the STRCAT write-line.

 

Use (entget (car (entsel))) I just type it on the command line to see the values for the assoc DXF codes.

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