MKearney028 Posted November 8, 2010 Share Posted November 8, 2010 Can anyone help me edit the LISP for TCOUNT to include the text for Multileaders? I've added (0 . "MULTILEADER") to the LISP but it will not edit the text. I haven't done much with LISP's, so any help would be appreciated. Thanks. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted November 8, 2010 Share Posted November 8, 2010 What code are you referring to? My program here? Quote Link to comment Share on other sites More sharing options...
alanjt Posted November 8, 2010 Share Posted November 8, 2010 What code are you referring to? My program here? Express Tool: TCount Quote Link to comment Share on other sites More sharing options...
MKearney028 Posted November 8, 2010 Author Share Posted November 8, 2010 Express Tool: TCount Sorry, I should have mentioned that. Yes, it is the express tool TCount. alanjt, while searching for an answer to this question, I came across a previous post of yours here: http://www.cadtutor.net/forum/showthread.php?40266-CopyText.lsp-Copy-Swap-Text-MText-Multileader-Attribute-Values The reason this caught my eye is because you were able to modify the text in a multileader through a lisp, which is what I need to do. However, the code was not in that post, so I couldn't look at it to figure it out. Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted November 8, 2010 Share Posted November 8, 2010 Sorry, I should have mentioned that. Yes, it is the express tool TCount. No worries Quote Link to comment Share on other sites More sharing options...
alanjt Posted November 8, 2010 Share Posted November 8, 2010 (assoc 304 (entget )) or (vla-get-TextString ) Quote Link to comment Share on other sites More sharing options...
MKearney028 Posted November 9, 2010 Author Share Posted November 9, 2010 Hmmm...I think I'm still missing something. In the file ACETXT.LSP provided with the Express Tools, there is this: (setq flt '((-4 . " (0 . "TEXT") (0 . "MTEXT") (0 . "ATTDEF") (-4 . "OR>") ) );setq From my breif understanding of Lisp routines, that's setting up a query for text, mtext or an attribute definetion. If I add the line (assoc 304 (entget )) or (vla-get-TextString ), I get "bad SSGET list" when I try to run the routine. I'm not quite sure how that line of code is supposed to fit in. As I mentioned, this is my first stab at modifying a lisp, so please bear with me and all your help is greatly appreciated. Quote Link to comment Share on other sites More sharing options...
v-pro Posted November 14, 2011 Share Posted November 14, 2011 Hi! Have you got any result in improving TCOUNT for mleaderds? 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.