Comparing drawings
The DWGCOMPARE command compares a selected drawing with the current drawing during a comparison session.
The ENDCOMPARE command concludes a comparison session.
The KEEPME command allows you to merge the compared drawings visually.
Comparison system variables
Name | Title | Description |
---|---|---|
CMPCLRMISS | Compare missing entities display color | Sets the color for displaying entities which are missing in the
other drawing. The default color is |
CMPCLRMOD1 | Compare modified entities display color 1 | Sets the color for displaying modified entities in the current
drawing. The default color is |
CMPCLRMOD2 | Compare modified entities display color 2 |
Sets the color for displaying modified entities in the other drawing. The default color is |
CMPCLRNEW | Compare new entities display color |
Sets the color for displaying entities which are new in the other drawing. The default color is |
CMPDIFFLIMIT | Maximal number of output entities |
Sets the limit for entities comparison. The comparison will be aborted after reaching the difference limit. Values between 1 and 10 000 000 are accepted. |
Executing a comparison session
- Launch the DWGCOMPARE command.
You are prompted: CMPDIFFLIMIT = 10000000. Select the file to compare with or [Limit]:
- (option) Choose the Limit option to set a new value for entities comparison.
-
Press Enter to display a File dialog box.
- Select the drawing to be compared with the current drawing, then click the
Open button or double-click the drawing name.
The differences between the two drawings are displayed using the Compare Display Colors.
The Compare toolbar appears.
- To check the Diff Type of an entity, do one of the following:
- If Rollover Tips (RT) are on, hover over the entity.
- Select the entity and check the Diff type field in the Properties panel.
- Click the Endcompare tool button on the Compare toolbar to conclude the comparison session.
Analyzing the comparison in the Structure panel
-
Load the Default.cst configuration in the Structure panel.
- Expand the Comparison node.
Four subnodes are shown: Missing, Modified (Original), New and Modified (Compared).
The number of entities in each subnode is indicated between brackets.
- Do the following:
-
Click a subnode to select the corresponding entities in the drawing.
- Expand a subnode, then click an entity to highlight the corresponding
entity in the drawing.
Press and hold the Ctrl key to select multiple entities.
- Right-click, then choose Zoom in the context menu to zoom onto the selected entity or entities.
-
Merging the compared drawings
- Missing entities only exist in the current drawing.
- Select the entities you want to keep, then click the Keep Me tool button on the Compare toolbar.
- Select the entities you don't want to keep, then click the Delete tool button.
- Modified entities exist in both drawings.
- In the Modified (Original) node: select the
entities you want to keep, then click the Keep Me
tool button on the Compare toolbar.
The corresponding entities in the Modified (Compared) node are removed.
- In the Modified (Compared) node: select the entities you want to keep, then click the Keep Me tool button on the Compare toolbar.
- In the Modified (Original) node: select the
entities you want to keep, then click the Keep Me
tool button on the Compare toolbar.
- New entities exist in the compared drawing only.
- Select the entities you want to keep, then click the Keep Me tool button on the Compare toolbar.
- Select the entities you don't want to keep, then click the Delete tool button.
When the merge is complete, the Comparison node in the Structure panel disappears. A message appears in the Command line: No more differences to show. Session is closed.