Skip to content

ppt 3dmodel

zmworm edited this page Apr 4, 2026 · 15 revisions

PowerPoint: 3D Model

Insert and manipulate 3D model objects (.glb files) in PowerPoint slides.

Path: /slide[N]/model3d[M]

Operations

  • add - Insert a 3D model from a .glb file

get

officecli get slides.pptx /slide[1]/model3d[1]
officecli get slides.pptx /slide[1] --depth 2

set

Property Description
x / left X position (EMU or units; negative values allowed)
y / top Y position (EMU or units; negative values allowed)
width Width (EMU or units)
height Height (EMU or units)
name Display name
rotx X-axis rotation in degrees (negative values normalized)
roty Y-axis rotation in degrees
rotz Z-axis rotation in degrees
officecli set slides.pptx /slide[1]/model3d[1] --prop x=3cm --prop y=2cm
officecli set slides.pptx /slide[1]/model3d[1] --prop rotx=45 --prop roty=30
officecli set slides.pptx /slide[1]/model3d[1] --prop width=15cm --prop height=15cm

remove

officecli remove slides.pptx /slide[1]/model3d[1]

Notes

  • 3D models are stored in the .glb (glTF Binary) format only.
  • Older PowerPoint versions display a PNG fallback image automatically embedded at insert time.
  • Morph animation between slides works with 3D models sharing the same name (with !! prefix).

Based on OfficeCLI v1.0.33

Clone this wiki locally