Jump to content

Lisp to deal with text/Mtext


asos2000

Recommended Posts

  • Replies 31
  • Created
  • Last Reply

Top Posters In This Topic

  • Lee Mac

    15

  • asos2000

    10

  • The Buzzard

    2

  • stevesfr

    2

Lee

 

The same

 

I just tested it and it seems to function correctly for me - what is happening for you? Does it not count anything? Does it error?

Link to comment
Share on other sites

I just tested it and it seems to function correctly for me - what is happening for you? Does it not count anything? Does it error?

 

Works fine here ! :)

Link to comment
Share on other sites

It seems to yield correct results, looking at your drawing Asos, the LISP will count every instance of the selected text strings in the drawing. You had 10 copies of every string that you selected.

Link to comment
Share on other sites

I selected the text in each rectangle separately

The lisp gives me the same result

 

Yes, that is correct, the LISP counts every instance of each selected string in the whole drawing.

 

You select "String1", "String2", "String3", the LISP will count every instance of "String1", "String2", and "String3" in the whole drawing.

 

Lee

Link to comment
Share on other sites

  • 2 years later...

When I run this I am getting a chart that shows...

"SAVETIME" 15

"SAVETIME" 6

insted of the name of the string and the count of 16.

 

Am I doing something wrong????

 

Thanks so much!

Link to comment
Share on other sites

Welcome to CADTutor Stephen.

 

I'm not sure which program you are referring to as there are many code posts in this thread, however, an updated version of this program can be found on my site here.

Let me know if you still have trouble using the program.

 

Lee

Link to comment
Share on other sites

Welcome to CADTutor Stephen.

 

I'm not sure which program you are referring to as there are many code posts in this thread, however, an updated version of this program can be found on my site here.

Let me know if you still have trouble using the program.

 

Lee

 

Hi Lee,

His routine is very useful for me.

But it would be possible to mount the table in ascending order as: ST1, ST2, ST3... ST9, ST10, ST11...?

 

Thanks in advance.

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