danielk Posted April 6, 2014 Posted April 6, 2014 Looking for a lisp that can search and select all the blcoks containing a word , even if its just the part of the block name . quickselect wasn't good for this one... Thanks Quote
tzframpton Posted April 6, 2014 Posted April 6, 2014 Try using the FILTER tool instead. You can use wildcard matches in the Block Name text box. For example if the block name was "BLOCK-FURNITURE-TABLE" you could do *FURN* and it would grab only blocks with "FURN" in the block name. 1 Quote
ROBP Posted April 6, 2014 Posted April 6, 2014 Try using the FILTER tool instead. You can use wildcard matches in the Block Name text box. For example if the block name was "BLOCK-FURNITURE-TABLE" you could do *FURN* and it would grab only blocks with "FURN" in the block name. did not know about filter never used it but i will keep it in mind Thanks tz Quote
tzframpton Posted April 6, 2014 Posted April 6, 2014 did not know about filter never used it but i will keep it in mind Thanks tz Best part about it is the ability to save your selection sets for future and repetitive use. Quick Select does not have this feature for some ridiculous reason. Quote
ROBP Posted April 6, 2014 Posted April 6, 2014 like i always said cad has tons of commands and users never uses them, and if they do get to be used 75% of user will never use them in their lifetime. Therefore some says that cad is the pits i disagree for that reason. r Quote
Thomas Schlüssi Posted December 19, 2023 Posted December 19, 2023 Hey, i'm searching for a way to do this via lisp. Quote
fuccaro Posted December 19, 2023 Posted December 19, 2023 (edited) I think you should read about the possibilities of wcmatch. See the help file. You can write (setq ss (ssget "X" (list (cons 0 "INSERT") (cons 2 "*block?"))))) That will select all the blocks (inserts) containing in their name the word "block" followed by an other character, like "My_block6" or "the_blockA". A lot of more possibilities... as I said, search in the help. Edited December 20, 2023 by fuccaro typo 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.