Home/ Reference/ Group / Order / Boolean

shape.ConvertToCurves()

Convert to curves: text or basic shapes become curve vectors. A converted text object goes from Type 6 to 3 (7 inside a container). Confirm the font is right before

Signature

shape.ConvertToCurves()

Notes

Convert to curves: text or basic shapes become curve vectors. A converted text object goes from Type 6 to 3 (7 inside a container). Confirm the font is right before you convert — a wrong font gets baked into the curves for good.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
import time

shape = app.ActiveSelectionRange(1)

print("Type before converting: ", shape.Type)          # 6 = text
shape.ConvertToCurves()                    # text to vector curves (IRREVERSIBLE)
time.sleep(0.3)

print("Type after converting: ", shape.Type)          # 3 = curve (inside a container it may report 7, a group)
# confirm the font is right before converting; a wrong font gets baked in forever

About this section: Group / Order / Boolean

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

Other entries in this section