patjeacad Posted 15 hours ago Share Posted 15 hours ago (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 15 hours ago by patjeacad Added Code Tags! Quote Link to comment Share on other sites More sharing options...
SLW210 Posted 15 hours ago Share Posted 15 hours ago Please use code tags for code! (<> in the editor toolbar) Quote Link to comment Share on other sites More sharing options...
patjeacad Posted 15 hours ago Author Share Posted 15 hours ago 2 minutes ago, SLW210 said: Please use code tags for code! (<> in the editor toolbar) sorry, i did now. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted 3 hours ago Share Posted 3 hours ago 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")))) 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.