Home/ Reference/ Effects

shape.CreateExtrude(Depth)

Extrude: pulls a flat shape into depth. 3D lettering, boxes. A larger depth reaches further.

Signature

shape.CreateExtrude(Depth)

Notes

Extrude: pulls a flat shape into depth. 3D lettering, boxes. A larger depth reaches further.

Python example (runnable)

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

try:
    eff = shape.CreateExtrude(1.0)                  # 1.0 = extrude depth
    print("Extrude applied, effect type: ", eff.Type)
except Exception as e:
    print("Extrude failed: ", e)

About this section: Effects

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

Other entries in this section