Comparison Of Similar Functions
This document mainly compares similar edit data operations.
Merge and Combine
- Merge applies to region layers and CAD layers (same type of objects), while Combine applies to line layers, region layers, text layers, and CAD layers.
- Merge can only operate on objects of the same type to generate complex objects, while Combine can operate on objects of different types to generate compounds.
- Objects involved in Merge are fused into a simple object or complex object; objects involved in Combine are only grouped into a block as a compound, without fusion.
- Merge cannot operate on point objects, but Combine can.
- During Merge, non-system fields and the SmUserID field are processed using multiple operation methods (first, empty, sum, and weighted mean); during Combine, the non-system fields and SmUserID field retain the corresponding attribute values of the object with the smallest SmID value in the combined objects.
Move and Offset
- Move applies to all geometries; Offset applies to simple objects and complex objects containing sub-objects, but not to compounds in CAD layers.
- Move does not create new objects, only changes position; Offset creates new objects parallel to the source object.
Explode and Fragment
- Explode applies to line layers, region layers, text layers, and CAD layers; Fragment applies to line layers and CAD layers.
- Explode can be applied to complex objects or compounds, while Fragment can only be applied to line objects.
- Explode decomposes sub-objects that make up a complex object and components of a compound into single objects, while Fragment splits objects at nodes to generate simple objects.
XOR and Donut Polygon
- The XOR operation deletes the common parts of pairwise objects and merges the remaining parts; Donut Polygon is determined based on the parity of the intersecting parts of the selected objects.
As shown in the figure below:
Edit Operation Original Object Operation Result XOR Three simple objects Complex object with two sub-objects Donut Polygon Three simple objects Complex object with three sub-objects


