Skip to main content
Version: dev-latest

MetriCal Command: Plex New

Usage

Plex New - CLI Example
metrical plex new [OPTIONS]
Plex New - Manifest Example
command = "plex-new"
output-plex = "{{auto}}"

Purpose

metrical plex new constructs a new, empty Plex. The resulting Plex has no components, no constraints, and no formations. It is a useful starting point when you want to build up a Plex entirely by hand using metrical plex add.

If you want to initialize a Plex from a dataset or a system specification instead, pipe the output of metrical plex new into metrical plex learn.

Examples

Create a new empty Plex and save it to a file

metrical plex new -o my_plex.json

Create a new empty Plex and pipe it into plex add

metrical plex new | metrical plex add component /camera/1 opencv-radtan -o my_plex.json

Options

Global Arguments

As with every command, all global arguments are supported (though not all may be used).

-o, --output [OUTPUT]

The path to output the resulting Plex. If omitted, MetriCal will write the Plex to stdout.