Hide Table of Contents

-DiscardDuplicates

Use the -DiscardDuplicates command to remove duplicate entities or overlapping segments of entities from the drawing. The command creates single entities from adjacent or partially overlapping entities.

It is the command window variant of the DiscardDuplicates command.

To discard duplicate entities:

  1. Type -DiscardDuplicates at the command prompt.
  2. In the graphics area, select the entities to examine.
  3. Press Enter.

    In the command window, the option settings display.

  4. Set options:
    • Ignore. Specifies entity properties to ignore during comparison.

      If you select this option, specify the properties to ignore:

      • None. Discards duplicate entities unless they have different properties.
      • All. Ignores all different entity properties when discarding duplicate entities.
      • Layer, LineColor, LineStyle, LineScale, LineWeight, PrintStyle, Thickness, Transparency. Specifies one or more of these properties to ignore when they are different.
    • Optimize PolyLine. Examines each vertex and each linear and curved segment of selected PolyLines and removes duplicate vertices and segments. Also, if a PolyLine segment duplicates a Line or Arc, one of the entities is deleted.

      If you select this option, specify additional options:

      • Yes. PolyLines are optimized.
      • No. PolyLines are not optimized.
      • Segment width. Ignores the segment widths of PolyLines.
      • Split polyline. Splits PolyLines when vertices and segments are removed.
    • Combine partial overlap. Creates a single entity from entities that partially overlap.
    • Combine end to end. Creates a single entity from collinear entities that have common endpoints.
    • Associativity. Leaves associative entities unchanged (such as the boundary entities of Hatches or the defining entities of Dimensions).
  5. Type Exit.

    A message reports the number of entities that were removed or combined.

  Note: The software saves these settings.

Access

Command: -DiscardDuplicates



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Command -DiscardDuplicates
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:

x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: 2023 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.