itacad Posted April 6, 2019 Share Posted April 6, 2019 Hello, I have to check the presence and distribution of a series of texts on a plan...these texts are a series of alphanumeric abbreviations and are checked one at a time... I activate the find command, and after it finds the texts, I create a selection group so I see clearly how it is distributed...my problem is that every time a sort of zoom is performed around the area of the selection group...I would like to avoid this unsolicited zoom ...I would like to keep the displayed area fixed for as long as I use the sequence of commands, find + create group + cancel selection and again find + create group + cancel selection... Is it possible? Greetings Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 6, 2019 Share Posted April 6, 2019 You may have to resort to ssget all text then go through it to find the "string" and make a new selection set SSADD then do what ever. use a layer filter also to reduce the size of the selection set. Quote Link to comment Share on other sites More sharing options...
itacad Posted April 7, 2019 Author Share Posted April 7, 2019 Ok thanks ... I was just hoping that there was a variable that turned off this effect...Regards Quote Link to comment Share on other sites More sharing options...
CyberAngel Posted April 8, 2019 Share Posted April 8, 2019 (edited) Why not isolate them after you've selected them? Edited April 8, 2019 by CyberAngel Quote Link to comment Share on other sites More sharing options...
itacad Posted April 8, 2019 Author Share Posted April 8, 2019 Hello and in the meantime, thanks for the reply...in my case I don't need to isolate the objects because I need to "see" them selected in the context...to tell you about the complete steps, after I have performed the search and the selection I take a screenshot, but every time I zoom in to the area of the design I need...it would be much simpler if it remained "all stopped"! Quote Link to comment Share on other sites More sharing options...
nukecad Posted April 9, 2019 Share Posted April 9, 2019 What happens if you 'Zoom Previous' to get back to the initial view, do they still stay selected? I understand that isn't quite what you are looking for, but it may be a work around. Quote Link to comment Share on other sites More sharing options...
itacad Posted April 9, 2019 Author Share Posted April 9, 2019 thanks for the idea, but unfortunately the selection disappears, and not even calling it via "select previous"... Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 10, 2019 Share Posted April 10, 2019 (edited) You can get your text then find the matching text making a list then zoom to each text make a decision next or exit, you need a 2nd bit resume search. It would be about saving a global list of the text entities. this is just a method example (alert "pick a few text") (setq ss (ssget (list (cons 0 "text")))) (repeat (setq x (sslength ss)) (setq obj (vlax-ename->vla-object (ssname ss (setq x (- x 1))))) (setq pt (vlax-safearray->list (vlax-variant-value(vla-get-InsertionPoint obj)))) (command "zoom" "c" pt 100) (getstring "press any key to continue") ) ; the value of X is saved for resume command Edited April 10, 2019 by BIGAL Quote Link to comment Share on other sites More sharing options...
itacad Posted April 10, 2019 Author Share Posted April 10, 2019 Thanks also to you, but I no longer have the opportunity to use lisp (damn that day) 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.