Jump to content

explane filter that was made by RLX.


patjeacad

Recommended Posts

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 by patjeacad
Added Code Tags!
Link to comment
Share on other sites

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"))))

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...