asos2000 Posted March 22, 2010 Author Share Posted March 22, 2010 Lee The same Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 22, 2010 Share Posted March 22, 2010 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? Quote Link to comment Share on other sites More sharing options...
asos2000 Posted March 22, 2010 Author Share Posted March 22, 2010 See attched dwg file and lisp COUNT.dwg COUNT.LSP Quote Link to comment Share on other sites More sharing options...
stevesfr Posted March 22, 2010 Share Posted March 22, 2010 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 ! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 22, 2010 Share Posted March 22, 2010 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. Quote Link to comment Share on other sites More sharing options...
asos2000 Posted March 22, 2010 Author Share Posted March 22, 2010 I selected the text in each rectangle separately The lisp gives me the same result Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 22, 2010 Share Posted March 22, 2010 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 Quote Link to comment Share on other sites More sharing options...
StephenM Posted March 8, 2013 Share Posted March 8, 2013 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! Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 8, 2013 Share Posted March 8, 2013 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 Quote Link to comment Share on other sites More sharing options...
StephenM Posted March 8, 2013 Share Posted March 8, 2013 Referring to Counting instances of Mtext in Autocad 2012. Any ideas??? Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted March 8, 2013 Share Posted March 8, 2013 Did you try the program at the link provided above? Quote Link to comment Share on other sites More sharing options...
antistar Posted March 11, 2013 Share Posted March 11, 2013 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.