Jump to content

Recommended Posts

Posted

Hi, there are several ways to perform a search and subsequent selection of objects, you can do it with the Find command or with Filters, with some Express Tool commands and even with Lisp.

Sometimes it is laborious to build research methods and it is boring to have to redo them several times.

Sometimes selecting objects is done simply by clicking the mouse on defined objects.

Other times the selection of objects is done cumulatively using various systems.

I ask if it is possible, once a search has been performed and the objects have been selected, to "save" this selection.

Let me give you an example: in a file I select some blocks, an xref, some texts which are obviously different objects, on different layers, but they could be associated with a common theme and it would be convenient to reselect them based on a history.

Thanks for any suggestions

Posted

If its only in the one session then just save any selection with a name using lisp (setq myss (ssget)) then its available in a command, move !myss note the ! exclamation mark.

 

When you use ssget you get a selection set so get entity names. <Entity name: 89f0af10>. Now the plot thickens do stuff in the dwg save close etc. Pick same object and it will have a different entity name, but all is not lost. If you look at object handle it is always the same value so can use that. So you could theoretically save the handles list in the dwg. You would probably need to make some form of custom data. Do a google.

Posted

Ok thanks, in the meantime I understand that there is nothing predisposed! I will try to do some research as you suggest.

Greetings

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