# VTK Examples - Updated ParametricObjectsDemo

**URL:** https://discourse.vtk.org/t/vtk-examples-updated-parametricobjectsdemo/8856
**Category:** Announcements
**Created:** [July 4, 2022, 2:57am UTC](https://discourse.vtk.org/t/vtk-examples-updated-parametricobjectsdemo/8856 "2022-07-04T02:57:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)
#### Post date: [July 4, 2022, 2:57am UTC](https://discourse.vtk.org/t/vtk-examples-updated-parametricobjectsdemo/8856/1 "2022-07-04T02:57:42Z")

</div>

Following on from [Changes to the VTK Eamples 1](https://discourse.vtk.org/t/changes-to-the-vtk-examples-1/8853/2)

This update now uses `vtk::cli11` and `vtk::fmt`.

Things to note

- The user gets an automatic help `-h` and adding explanations to the command line parameters is really simple. Really good for long complex command lines.
- Using `fmt::format` in `DisplayBoundingBoxAndCenter(...)` has really simplified formatting. This also has the advantage of allowing named arguments. It is useful for complex formatting that is often difficult to do using streams.

I have also slipped in the ability to save a screenshot by pressing “k”.

See: [ParametricObjectsDemo](https://kitware.github.io/vtk-examples/site/Cxx/GeometricObjects/ParametricObjectsDemo/)
