Jump to content

Block count by Values


CAD_Noob

Recommended Posts

3 minutes ago, CAD_Noob said:

 

That did it! thanks a lot!! working fine.

one more question, any way to sort the value alphanumeric?

Where DXXX comes first then RXXX?

 

or i can do that in the table? I cannot find a way to do that in the table itself.

 

 

 

screenshot-01.JPG.0c6ea5447f0a76aa989744353848c5ae.JPG

 

Find the line below in previous code: (repeat (length dets)

 

And replace that line with:

 

(repeat (length (setq dets (vl-sort dets '(lambda (x y) (< (car x) (car y))))))

 

  • Thanks 1
Link to comment
Share on other sites

7 minutes ago, Jonathan Handojo said:

 

Find the line below in previous code: (repeat (length dets)

 

And replace that line with:

 


(repeat (length (setq dets (vl-sort dets '(lambda (x y) (< (car x) (car y))))))

 

 

thank you so much!! working flawlessly now.

 

Link to comment
Share on other sites

  • 11 months later...

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