Jump to content
Sign in to follow this  
Dayananda

Reset the items in selection set Last to first order

Recommended Posts

Dayananda

I have a selection set

added by  Crossing.

Now I need re arrange this list as  mirror order of selection.

Edited by Dayananda

Share this post


Link to post
Share on other sites
BIGAL

You process the selection set last to first

 

last to first
(repeat (setq x (sslength lst))
(setq ent (ssname lst (setq x (- x 1))))
do your thing ....
)

first to last
(setq x 0)
(repeat (sslength lst)
(setq ent (ssname lst x))
do your thing .....
(setq x (+ x 1))
)

 

Share this post


Link to post
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
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Sign in to follow this  

×
×
  • Create New...