Home/ Reference/ Group / Order / Boolean

shape.BreakApart() / .BreakApartEx()

Break apart (Ctrl+K): splits a combined curve back into separate objects, or splits text into individual characters.

Signature

shape.BreakApart() / .BreakApartEx()

Notes

Break apart (Ctrl+K): splits a combined curve back into separate objects, or splits text into individual characters.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
shape = app.ActiveSelectionRange(1)

print("Type before breaking apart: ", shape.Type)
shape.BreakApart()                           # break apart (Ctrl+K): back to separate contours or glyphs
print("Shapes after breaking apart: ", app.ActiveSelectionRange.Count)

# BreakApartEx turns a line of text into one shape per character

About this section: Group / Order / Boolean

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

Other entries in this section