Jump to content
lshurp

Convert lines into text, LISP or VBA Routine

Recommended Posts

lshurp

Anyone has a code to accomplish this? I am dealing with bunch of poorly converted lines from PDF that used to be AutoCAD text in the drawing. Greatly appreciated!:)

Share this post


Link to post
Share on other sites
Emmanuel Delay

I would say no, this will not work.

Can you give a sample (piece of dwg) anyway? Who knows something is possible anyway

Share this post


Link to post
Share on other sites
David Bethel

Some of the better PDF programs now have a decent Optical Character Recognition (OCR) tool.

 

It works best with basic font and high quality PDF resolutions.

 

I use PDF-XChange Editior Plus

 

https://www.tracker-software.com/

 

-David

Share this post


Link to post
Share on other sites
lshurp

How do I attach a sample, thru a n Insert link (to my desktop) up here?

Share this post


Link to post
Share on other sites
SLW210
How do I attach a sample, thru a n Insert link (to my desktop) up here?

 

Lower right of reply box select "Go Advanced" then scroll down to "Manage Attachments" then "Browse" and select the file then "Upload"

Share this post


Link to post
Share on other sites
tombu

If you upgrade to the current version you could use the PDFSHXTEXT command to Recognize SHX Text. You may need to figure out which SHX it is and add it to Recognition Settings. If Text Style used had width factor it complicates it as well.

Share this post


Link to post
Share on other sites
lshurp

Yes, I know, I have to wait until the end of the year :)

Share this post


Link to post
Share on other sites
lshurp

Here is the sample of the text, any advise for Autocad 2016 is appreciated!

CONVERT.dwg

Share this post


Link to post
Share on other sites
tombu

Used the PDFSHXTEXT command to Recognize SHX Text.

CONVERT.dwg

Share this post


Link to post
Share on other sites
Emmanuel Delay

Does anybody have the source code of PDFSHXTEXT ?

Share this post


Link to post
Share on other sites
SLW210

Maybe use the trial version of the latest AutoCAD.

Share this post


Link to post
Share on other sites
Emmanuel Delay

A bit drastic just for 1 routine

Share this post


Link to post
Share on other sites
tombu
A bit drastic just for 1 routine

 

It's not a routine, it's a command that was added to newer versions.

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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