Home/ Reference/ Shape Appearance

shape.Effects

The effects collection — drop shadow, extrude, contour, envelope, perspective all hang off here.

Signature

shape.Effects

Notes

The effects collection — drop shadow, extrude, contour, envelope, perspective all hang off here.

Python example (runnable)

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

# Effects is the entry point for extrude, contour, envelope, perspective
print("Effects: ", shape.Effects.Count)

for i in range(1, shape.Effects.Count + 1):
    print(i, "Effect type: ", shape.Effects.Item(i).Type)

About this section: Shape Appearance

Shape Appearance — outline, fill and transparency shortcuts.

Other entries in this section