Repository navigation
COMPARE Command
Hakan Seven edited this page Nov 8, 2026
·
1 revision
Shows what differs between the current drawing and another DWG or DXF file, and lets you step through each difference.
| Command | COMPARE |
| Web app | Not available in the web app. |
| Since | 2026.44 |
- Type
COMPARE. A file dialog opens. - Pick the DWG or DXF drawing to compare with.
- The differences are drawn over the current drawing in colour. The prompt shows how many objects were added, removed and modified.
- Press Enter or type
Nto zoom to the next difference, or type an option. - Type
Xor press Esc to end.
| Option | What it does |
|---|---|
Next (N) |
Zooms to the next difference. Enter does the same. |
Previous (P) |
Zooms to the previous difference. |
Export (E) |
Asks for a report file and writes the list of differences as a CSV file. Press Enter to take the proposed file name. |
eXit (X) |
Ends the command. |
COMPARE <path> compares with that file at once, without the file dialog.
- Objects are matched by what they draw: type, layer and geometry. A copy with the same geometry matches even with a different handle.
- An object that moved or changed shows as removed in one place and added in the other. If both files give it the same handle (two revisions of one file), it shows as modified.
- Default colours: green for added, red for removed, orange for modified. Change them with
COMPARECOLORADDED,COMPARECOLORREMOVEDandCOMPARECOLORMODIFIED(a colour index, a name, or R,G,B). -
COMPARETOLERANCEsets how close two points must be, in drawing units, to count as the same. - The proposed report is named
<drawing>-compare.csvand sits next to the current drawing. - While you step through, the prompt shows the number of the current difference, the kind of change and the object.
Open CAD Studio is free software under the GPL-3.0 licence · Source code · Download · Web app · Discussions
Get started
- Installation
- Your First Drawing
- Tutorials
- The User Interface
- Ribbon Reference
- Workspaces and Toolbars
- Navigating the Drawing
Draw and edit
- Drawing Setup and Units
- Precision Drawing
- Isometric Drafting
- Drawing Objects
- Multilines
- Selecting Objects
- Modifying Objects
- Hatches and Fills
- Layers and Properties
Annotate
Organise and reuse
Present and share
3D
Tools
Reference