Jump to content

Recommended Posts

Posted (edited)

Hi guys,

I want to  keep a selection set of objects into a dictionary, in a drawing, to be able to select the same objects after closing and opening again that drawing. How to do that? Thanks!

Edited by transcad
incomplete information
Posted

I would personally suggest storing the entity handles (these are unique & persistent for the lifetime of the drawing); you can then subsequently use the handent function to convert the handle back to an entity, before using ssadd to add such entity to a selection set.

Posted

A selection set is a special list of entity names. IIRC, Entity names can change across drawing sessions. You need to save a list of entity handles or convert the selection set to a group then reconvert back to a selection set when re-opened.

Posted
13 minutes ago, dlanorh said:

A selection set is a collection of entity names.

 

Fixed

  • Like 1
Posted
1 hour ago, Grrr said:

 

Fixed

 

Thanks, we all have brain farts from time to time. :thumbsup:

  • Like 1

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