Skip to content

ppt group add

zmworm edited this page May 24, 2026 · 52 revisions

PowerPoint: Group - Add

Group multiple shapes together on a slide.

Path: /slide[N] (parent)

Properties

Property Default Description
shapes (required) Comma-separated shape indices to group
name Group {N} Group name
link - Hyperlink URL or slide[N] for in-presentation jump
tooltip - Hyperlink tooltip text (requires link)

Get/Query/Remove/Add all descend into groups — get /slide[1]/group[1] enumerates inner shapes, query shape returns leaves inside group containers, mutation verbs accept group-internal paths.

Examples

# Group shapes 1, 2, and 3
officecli add slides.pptx /slide[1] --type group --prop shapes=1,2,3 --prop name="LogoGroup"

# Group two shapes
officecli add slides.pptx /slide[1] --type group --prop shapes=2,4

Based on OfficeCLI v1.0.97

Clone this wiki locally