Jump to content

Using COMPARE command to compare two selection sets


Recommended Posts

Posted (edited)

Hi all,

 

Not sure if this is even possible to do so before I even attempt to try do you knowledgeable folk know if this can be done via LISP.

 

 - Select first set of objects and choose a base point, save theses objects to drawing A.

 - Do the same for another set of objects, save these objects to drawing B.

 - Open drawing A and run the compare command on drawing B.

 

 

Edited by 3dwannab
Posted

Or just keep it inside the drawing. This simple lisp I made Creates a temp block of selection set to a location.

only problem is you have to find a common point between the things you want to check to make sure they overlay properly. (or just move the blocks after)

 

helpful hit I make one selection all one color before running this command.

once done I just delete the temp blocks.

 

;;----------------------------------------------------------------------------;;
;; OVERLAY TO CHECK ALINEMENT
(defun C:OL (/ MP SS BP)
  (setq MP (getpoint "\nCopy To Location: "))
  (while (setq SS (ssget))
    (setq BP (getpoint "\nMove Base Point: "))
    (vl-cmdf "_.Copybase" BP SS "" "_.Pasteblock" MP)
  )
  (princ)
)

 

Posted

Perhaps it's possible to save those two out and run a command line to run a script to run the compare command.

Posted
12 hours ago, BIGAL said:

Why not use this it is a later version of Acad.

image.thumb.png.b10b8f543e56bd7a189c7f80d9951491.png

That's what the title of this thread is ? "Using COMPARE command to compare two selection sets"

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