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 | Color of missing entities | Controls the color of missing entities. The default color is Red. |
CMPCLRMOD1 | Color of modified entities | Controls the color of modified entities. The default color is index color 253. |
CMPCLRMOD2 | Color of modified entities in the second drawing | Controls the color of modified entities in the second drawing. The default color is Yellow. |
CMPCLRNEW | Color of new entities | Controls the color of new entities. The default color is Green. |
CMPDIFFLIMIT | Maximum number of entities |
Controls the limit for entities to compare. The comparison will be aborted after reaching the difference limit. Values between 1 and 10,000,000 are accepted. |
CMPFADECTL | Fade | Controls the fade level for unmodified entities. The default value is 80. |
CMPLOG | Log control | Toggles the creation of a log report (cmplog). By default, it is set Off. |
Executing a comparison session
- Launch the DWGCOMPARE command.
You are prompted:
CMPDIFFLIMIT = 10000000.
Select a file to compare with or set the comparison limit [Select/Limit] <Select>:
- (Optional) Choose the Limit option to set a new value for entities comparison.
- Choose Select to display the Select the file to compare with dialog box.
- Select the drawing to be compared with the current drawing, then click the Open button or double-click the drawing name.
The Compare panel displays to compare the drawings. See also the Compare panel article.
The Compare toolbar also appears.
- Click the End compare button in the Compare panel to conclude the comparison session.
Analyzing the comparison in the Structure panel
- While running the DWGCOMPARE command, 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.