@vishshreevT578L wrote:
....
I want to manipulate this pickset,
I mean i want to make separate list of all the text, line, Mtext, polyline.
can anyone please suggest
If 'pickset' is a variable containing [as the name implies] a selection set, and you mean you want to make separate selection sets of the different entity types in it, try this:
(sssetfirst nil pickset); selects/grips/highlights everything in it; then:
(setq TextFromPickset (ssget '((0 . "TEXT")))); puts all Text objects from current active selection into a variable
(sssetfirst nil pickset); do it again, then:
(setq LinesFromPickset (ssget '((0 . "LINE")))); puts all Line objects into a variable
.... etc. for other types
If you really want to make lists of them all, there are a couple of ways you could do that. One is to make the separate selection sets as above, and then code could be added to make a list from each of those. Another is to step through the pickset variable's selection set, and put each item into a list corresponding to its entity type [EDIT: for example, @ВeekeeCZ's first suggested subroutine]. Is something like one of those what you really need?
Kent Cooper, AIA