Comparison of Similar Functions

This document primarily compares the similar edit data operations.

Merge and Combine

  • Merge is suitable for region layers and CAD layers (objects of the same type), while Combine is suitable for line layers, region layers, text layers, and CAD layers.
  • Merge can only operate on objects of the same type to generate a complex object, whereas Combine can operate on different types of objects to generate a compound.
  • Objects involved in a Merge are fused into a single simple object or complex object; objects involved in a Combine are simply grouped into a block, forming a compound, without being fused.
  • Merge cannot operate on point objects, while Combine can operate on point objects.
  • During a Merge operation, the data from non-system fields and the SmUserID field are processed using various methods (retain the first, set to null, sum, and weighted mean). During a Combine operation, the SmUserID field retains the corresponding attribute value from the object with the smallest SmID value among the combined objects.

Move and Offset

  • Move is applicable to all geometries; Offset is applicable to simple objects and complex objects containing sub-objects, but not to compounds in CAD layers.
  • The Move operation does not create new objects; it only changes the position. Offset generates new objects whose shapes are parallel to the source object.

Explode and Break Apart

  • Explode is suitable for line layers, region layers, text layers, and CAD layers. Break Apart is suitable for line layers and CAD layers.
  • The applicable objects for Explode can be complex objects or compounds, while the applicable objects for Break Apart can only be line objects.
  • Explode decomposes the sub-objects that make up a complex object and the component objects of a compound into individual objects. Break Apart splits an object at its nodes to generate simple objects.

XOR and Donut Polygon

  • The XOR operation deletes the common parts between two objects and merges the remaining parts. The Donut Polygon operation is determined based on the parity of the intersecting parts of the selected objects.

The details are shown in the following figure:

Edit Operation
Original Objects
Operation Result
XOR
Three Simple Objects
A Complex Object with Two Sub-objects
Donut Polygon
Three Simple Objects
A Complex Object with Three Sub-objects