EazyDraw registered trademark.

EazyDraw graphic file converter command line interface ( CLI )
|

Command Line Layer Configurations

The command line interface can apply a saved layer configuration to a drawing as it is converted or exported, producing a particular version of the drawing without changing the source file. Use it to generate, for example, a “draft” sheet with the markup layers visible and a “final” sheet with them hidden — both from the same drawing, in one scripted run.

A layer configuration is a named arrangement of a drawing’s layers — which layers are shown or hidden, their front-to-back order, dimension visibility, and the layer display mode. You create and name layer configurations in EazyDraw’s Layers drawer, and they are saved inside the drawing file. The command line applies them by name.

Applying a configuration — -L and -l

Add -L followed by a configuration name to apply it to the drawings that follow, or -l to apply it to the next drawing only. The named configuration determines which layers are visible — and in what front-to-back order — for the converted output. The source drawing on disk is never modified.

For example, the options -C -t pdf -L "Final" followed by a drawing file produce a PDF rendered with that drawing’s “Final” layer configuration: the layers it marks visible, in its order. Configuration-name and file arguments may be interspersed — each -L or -l applies to the files listed after it.

If the named configuration is not found in a drawing, that drawing’s last-saved layer visibility is used — no error is reported, and its visible layers are converted as saved.

See Command Line Drawing Conversions for the full set of options and output formats, and Command Line Interface for an overview.

|