bcarlso2 Posted March 20, 2017 Posted March 20, 2017 I am trying to script a counter of specific strings. How can I select all occurrences of text that has a specific value? I cannot use filter or quickselect, and I cannot get selection sets to find specified values. Any help would be greatly appreciated. I am using ACADE 2015. Quote
BIGAL Posted March 21, 2017 Posted March 21, 2017 You are incorrect about using selection sets, just make a selection set of text or mtext then look at each string using (wcmatch txtstring "your string*") it will return T true if it matches. Quote
Dadgad Posted March 21, 2017 Posted March 21, 2017 I don't understand why you are unable to use Filter, how about using FIND & REPLACE, just for the search functionality? Quote
tombu Posted March 21, 2017 Posted March 21, 2017 I don't understand why you are unable to use Filter, how about using FIND & REPLACE, just for the search functionality? The Filter command was how I learned to do it a quarter century ago. We have many selection options now, but Filter will always be on my list. Quote
bcarlso2 Posted March 21, 2017 Author Posted March 21, 2017 You are incorrect about using selection sets, just make a selection set of text or mtext then look at each string using (wcmatch txtstring "your string*") it will return T true if it matches. I found a way to do it. I ended up finding the dxf group codes I needed to specify the contents with ssget. Quote
bcarlso2 Posted March 21, 2017 Author Posted March 21, 2017 I don't understand why you are unable to use Filter, how about using FIND & REPLACE, just for the search functionality? It uses a popup window, therefore it cannot be scripted how I need it. Quote
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.