Home/ Reference/ Effects

eff.Separate()

Breaks the effect into standalone objects. A separated drop shadow becomes a real shape you can recolor and move on its own — the last step in a lot of effect work.

Signature

eff.Separate()

Notes

Breaks the effect into standalone objects. A separated drop shadow becomes a real shape you can recolor and move on its own — the last step in a lot of effect work.

Python example (runnable)

Requires pywin32. The example assumes app / doc / page / layer are already connected. See Connection & Init
Python
shape = app.ActiveSelectionRange(1)
eff = shape.CreateDropShadow(0, 50, 15, 0.05, -0.05,
                             app.CreateRGBColor(0, 0, 0))

eff.Separate()                                      # the shadow becomes its own object
after = app.ActiveSelectionRange(1)                 # re-read the selection
print("Shapes after breaking the effect: ", after.Count)

About this section: Effects

Effects — drop shadow, blend, contour, extrude and lens.

Other entries in this section