Jump to content

Recommended Posts

Posted

Hi all,

 

Please refer the snap shot.

 

123.JPG

 

This file contains text value and x,y coordinates values from autocad.

I want to do this using Write-line function in lisp.

But i am not getting how can i use rectangle symbol instead of newline.

 

 

Thanks,

Kumar.

Posted

Is this text file something AutoCAD is creating... Or is this an external file (from someone else) that you are attempting to extract data from?

Posted

Read the file that you have displayed, find the ASCII code of the character you highlight, then write that character using write-line.

Posted

Open the document in Microsoft Word (or some respectable word processor) and with "Find & Replace" (Ctrl + H), you can swap them out for a carriage return.

eg.

FIND: *select the ascii character, copy to clipboard and paste in the FIND box

REPLACE: ^p

 

EDIT: Nevermind, I read the post as if you were trying to correct the ascii character issue.

Posted

Thanks for all.

 

I got file dos2unix.exe from my friend which converts a file with no. of lines to required format which solved my problem

 

 

Kumar.

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