patjeacad Posted October 21 Posted October 21 (edited) I have a filter in a lisp file that is made by RLX. I want to understand it better so i can modify the filter for more use. I use this filter for blocknames. This exaMple works very well. The problem is when i want to filter the begin of a blockname with the end of the same blockname. The result at the second filter is DIN934-A0M04IN - >This has to be DIN934-A0M04SD or ED. What can i do to get the result i want? If someone can explane the filter where i start this topic with, thank you. DIN934MODIFYDO.LSP Edited October 21 by patjeacad Added Code Tags! Quote
SLW210 Posted October 21 Posted October 21 Please use code tags for code! (<> in the editor toolbar) Quote
patjeacad Posted October 21 Author Posted October 21 2 minutes ago, SLW210 said: Please use code tags for code! (<> in the editor toolbar) sorry, i did now. Quote
BIGAL Posted October 21 Posted October 21 A ssget with correct block filter should work. (setq ss (ssget (list (cons 0 "INSERT")(cons 2 "DIN934-A#M##*")))) or a full filter (setq ss (ssget (list (cons 0 "INSERT")(cons 2 "DIN934-A#M##ED,DIN934-A#M##SD")))) 1 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.