Author Topic: Best way to compare 2 drawings  (Read 4777 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Best way to compare 2 drawings
« on: April 03, 2015, 09:04:09 AM »
I can not think of a way to compare two drawings. I want to be able compare the layers states of both (Color / On-off / thaw / etc.). What is the best way I can get a print out and compare what is difference between the two?

Thanks guys
Civil3D 2020

ronjonp

  • Needs a day job
  • Posts: 7527
Re: Best way to compare 2 drawings
« Reply #1 on: April 03, 2015, 09:12:09 AM »
You just want to compare the layers?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Re: Best way to compare 2 drawings
« Reply #2 on: April 03, 2015, 09:13:10 AM »
Yup, on PDF or something. I need to show people what is being changed.
Civil3D 2020

ronjonp

  • Needs a day job
  • Posts: 7527
Re: Best way to compare 2 drawings
« Reply #3 on: April 03, 2015, 09:15:35 AM »
So what if some linework changed on the two files?

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Re: Best way to compare 2 drawings
« Reply #4 on: April 03, 2015, 09:16:33 AM »
I don't think that will be a big deal. What are you thinking of?
Civil3D 2020

ronjonp

  • Needs a day job
  • Posts: 7527
Re: Best way to compare 2 drawings
« Reply #5 on: April 03, 2015, 09:21:09 AM »
What I do to see 'changes' is open the old drawing, change all the layer colors to RED. Then xref the new drawing over top and change all the XREF colors to BLUE. Not high tech but has worked for me for many years.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Best way to compare 2 drawings
« Reply #6 on: April 03, 2015, 09:21:24 AM »
export the Layerstate(s)

Import them into EXCEL....place columns side by side on a pivot table to compare settings


OR

Use one file as a Standard...
compare against the other
the standards report will show what is different (not to standard)
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Re: Best way to compare 2 drawings
« Reply #7 on: April 03, 2015, 09:23:39 AM »
I did not know you can export the layer state into excel. The two drawings have the same Named Layers but the colors - on - off are different.
Civil3D 2020

danallen

  • Guest
Re: Best way to compare 2 drawings
« Reply #8 on: April 03, 2015, 10:59:51 AM »
Bluebeam has a PDF compare tool that will do color overlay of changes. Also will auto-cloud.


mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: Best way to compare 2 drawings
« Reply #9 on: April 03, 2015, 11:18:38 AM »
I did not know you can export the layer state into excel. The two drawings have the same Named Layers but the colors - on - off are different.

Import Data...from TXT

the formatting is messy but it will import.


Upon thinking about it the Cad Standards checker is probably the better option
as it would allow comparing a >>> b

and b >>>>a

just to catch difference (changes) in either direction
Be your Best


Michael Farrell
http://primeservicesglobal.com/

MSTG007

  • Gator
  • Posts: 2601
  • I can't remeber what I already asked! I need help!
Re: Best way to compare 2 drawings
« Reply #10 on: April 03, 2015, 11:19:57 AM »
Thanks man. I will check that out shortly!
Civil3D 2020

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Best way to compare 2 drawings
« Reply #11 on: April 03, 2015, 11:29:37 AM »
I do not know it this will help barbecue I think it just compares geometry but it might have something.

AutoCAD Architecture has Drawing Compare.  I played with it but not seriously put it work.  So I really can not give an opinion on it.

There is plug-in for regular AutoCAD
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

Bethrine

  • Guest
Re: Best way to compare 2 drawings
« Reply #12 on: April 03, 2015, 12:18:33 PM »
I do not know it this will help barbecue I think it just compares geometry but it might have something.

AutoCAD Architecture has Drawing Compare.  I played with it but not seriously put it work.  So I really can not give an opinion on it.

There is plug-in for regular AutoCAD


Either you are hungary or maybe your spell checker is out-dated?  :lol:

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Best way to compare 2 drawings
« Reply #13 on: April 03, 2015, 01:10:30 PM »
I do not know it this will help barbecue I think it just compares geometry but it might have something.

AutoCAD Architecture has Drawing Compare.  I played with it but not seriously put it work.  So I really can not give an opinion on it.

There is plug-in for regular AutoCAD


Either you are hungary or maybe your spell checker is out-dated?  :lol:
No the spell checker is hungry not hungary!   :-D :tongue2:
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

Bethrine

  • Guest
Re: Best way to compare 2 drawings
« Reply #14 on: April 03, 2015, 01:29:15 PM »
I do not know it this will help barbecue I think it just compares geometry but it might have something.

AutoCAD Architecture has Drawing Compare.  I played with it but not seriously put it work.  So I really can not give an opinion on it.

There is plug-in for regular AutoCAD


Either you are hungary or maybe your spell checker is out-dated?  :lol:
No the spell checker is hungry not hungary!   :-D :tongue2:

 :woow: :blink:  :2funny:  :crazy2:

ronjonp

  • Needs a day job
  • Posts: 7527
Re: Best way to compare 2 drawings
« Reply #15 on: April 03, 2015, 01:43:51 PM »
And you could go the code route to compare the layers :)
Code - Auto/Visual Lisp: [Select]
  1. (defun c:comparelayers (/ a adoc b doc dwg l lay lprops ll ll2 name odbx out props props2 v x)
  2.   (setq lprops '("Color" "Freeze" "LayerOn" "Linetype" "Lineweight" "Lock"
  3.                  ;; "PlotStyleName"
  4.                  "Plottable")
  5.   )
  6.     (if (not (wcmatch (vla-get-name x) "*|*"))
  7.       (setq ll
  8.              (cons
  9.                (list (strcase (vla-get-name x)) (mapcar '(lambda (l) (cons l (vlax-get x l))) lprops))
  10.                ll
  11.              )
  12.       )
  13.     )
  14.   )
  15.   (cond
  16.     ((or
  17.        (null (setq dwg (getfiled "Select a drawing to compare layers:" (getvar 'dwgprefix) "dwg" 16))
  18.        )
  19.        (= dwg "")
  20.      )
  21.      (print "Bye..")
  22.     )
  23.     ((null (setq odbx (cond ((< (setq v (substr (getvar 'acadver) 1 2)) "16")
  24.                              (vla-getinterfaceobject doc "ObjectDBX.AxDbDocument")
  25.                             )
  26.                             ((vla-getinterfaceobject doc (strcat "ObjectDBX.AxDbDocument." v)))
  27.                       )
  28.            )
  29.      )
  30.      (print "ObjectDBX.AxDbDocument could NOT be created!")
  31.     )
  32.     ((vl-catch-all-error-p (vl-catch-all-apply 'vla-open (list odbx dwg)))
  33.      (print (strcase (strcat "*Error opening*: " dwg)))
  34.     )
  35.     ((vlax-for lay (vla-get-layers odbx)
  36.        (setq name (strcase (vla-get-name lay)))
  37.        (cond ((null (setq props (cadr (assoc name ll))))
  38.               (print (strcat name " not in current drawing..."))
  39.              )
  40.              ((equal (setq props2 (mapcar '(lambda (x) (cons x (vlax-get lay x))) lprops)) props)
  41.               (setq ll (vl-remove (list name props) ll))
  42.               (print (strcat name " matches..."))
  43.              )
  44.              ((print (strcat name " different..."))
  45.               (setq ll (vl-remove (list name props) ll))
  46.               (mapcar '(lambda (a b)
  47.                          (if (not (equal a b))
  48.                            (print (strcat (vl-princ-to-string (car a))
  49.                                           ": "
  50.                                           (vl-princ-to-string (cdr a))
  51.                                           " -> "
  52.                                           (vl-princ-to-string (cdr b))
  53.                                   )
  54.                            )
  55.                          )
  56.                        )
  57.                       props2
  58.                       props
  59.               )
  60.              )
  61.        )
  62.      )
  63.      (mapcar '(lambda (x) (print (strcat (car x) " not in other drawing..."))) ll)
  64.      (vlax-release-object odbx)
  65.     )
  66.   )
  67.   (princ)
  68. )

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Jeff H

  • Needs a day job
  • Posts: 6150
Re: Best way to compare 2 drawings
« Reply #16 on: April 03, 2015, 06:15:56 PM »
I did not know you can export the layer state into excel. The two drawings have the same Named Layers but the colors - on - off are different.

Import Data...from TXT

the formatting is messy but it will import.


Upon thinking about it the Cad Standards checker is probably the better option
as it would allow comparing a >>> b

and b >>>>a

just to catch difference (changes) in either direction

Just go to layer palette and
Ctrl+A(select all)
Ctrl+C(copy)

Then open excel
Ctrl+V(paste)


Then delete all rows except name and whatever else you want.
Select all and format as table and then you filtering added easy and you can make two tables align by value to compare