Home/ Reference/ Group / Order / Boolean

shapeRange.Combine()

Combine (Ctrl+L): merges objects into a single curve with the overlaps knocked out. Not the same thing as Group, at all.

Signature

shapeRange.Combine()

Notes

Combine (Ctrl+L): merges objects into a single curve with the overlaps knocked out. Not the same thing as Group, at all.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
# select two or more shapes, then combine
rng = app.ActiveSelectionRange
print("Before combine: ", rng.Count, " object(s)")

rng.Combine()                                # combine (Ctrl+L): the overlap becomes a hole
print("After combine: ", app.ActiveSelectionRange.Count, " object(s)")

About this section: Group / Order / Boolean

Group / Order / Boolean — grouping, ordering and boolean operations.

Other entries in this section