Home/ Reference/ Shape Appearance

shape.PowerClip

The PowerClip container. See the PowerClip section.

Signature

shape.PowerClip

Notes

The PowerClip container. See the PowerClip section.

Python example (runnable)

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

pc = shape.PowerClip               # returns None when it is not a container
if pc is None:
    print("Not a frame container")
else:
    print("The container holds", pc.Shapes.Count, " object(s)")
    for i in range(1, pc.Shapes.Count + 1):
        print("  ", i, "type", pc.Shapes.Item(i).Type)

About this section: Shape Appearance

Shape Appearance — outline, fill and transparency shortcuts.

Other entries in this section