transcad Posted September 5, 2019 Share Posted September 5, 2019 (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 September 5, 2019 by transcad incomplete information Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 5, 2019 Share Posted September 5, 2019 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. Quote Link to comment Share on other sites More sharing options...
dlanorh Posted September 5, 2019 Share Posted September 5, 2019 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. Quote Link to comment Share on other sites More sharing options...
Grrr Posted September 5, 2019 Share Posted September 5, 2019 13 minutes ago, dlanorh said: A selection set is a collection of entity names. Fixed 1 Quote Link to comment Share on other sites More sharing options...
dlanorh Posted September 5, 2019 Share Posted September 5, 2019 1 hour ago, Grrr said: Fixed Thanks, we all have brain farts from time to time. 1 Quote Link to comment Share on other sites More sharing options...
transcad Posted September 6, 2019 Author Share Posted September 6, 2019 Thanks guys, thanks Lee! 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.