Jump to content

Block selector


sakinen

Recommended Posts

Is there a lisp routine which selects all the blocks in the drawing with the same name as the block which is first selected.

Thanks in advance!

Link to comment
Share on other sites

If you just selecting blocks to move etc for some reason maybe use "Filter"

 

Are you trying to do block manipulation theres lots of block stuff here if you search.

Link to comment
Share on other sites

Did you try SSX?
No i did not. Im trying right now. How i apply the selection set? Im having a bit of problem with that.

 

Are you trying to do block manipulation theres lots of block stuff here if you search.
Im looking for very simple way to select specific block on the entire drawing, for data extraction purposes. I run the command, then select the block, and finaly all blocks with the same name as the selected one are selected.

 

Thanks for the swift answers.

Link to comment
Share on other sites

No i did not. Im trying right now. How i apply the selection set? Im having a bit of problem with that.

 

Im looking for very simple way to select specific block on the entire drawing, for data extraction purposes. I run the command, then select the block, and finaly all blocks with the same name as the selected one are selected.

 

Thanks for the swift answers.

 

Do you have any sample code that you could post?

Link to comment
Share on other sites

Do you have any sample code that you could post?

No nothing right now. Im exploring ssx posibilities, maybe modifying...

Link to comment
Share on other sites

No nothing right now. Im exploring ssx posibilities, maybe modifying...

Open SSX.LSP, scroll down to line 198 and replace the line's contents with the following.

 

  (if f1 (sssetfirst nil (setq f2 (ssget "_x" f1))))

Link to comment
Share on other sites

What Alan meant was make a copy of the SSX.lsp file and rename the copy ; then make the changes :)

Oh yes, precisely. Thank you Kerry. :)

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...