oodle
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

phase

Copy structure into a new set of doodles.

phase [options] <prefix>

This command requires a [[select|selection]] to take effect.

Selected doodles are copied with each clone being named as follows: prefix.originalname Multiplex link information for each original doodle is recreated for the corresponding clone. If an unselected doodle link to a selected doodle, the unselected doodle will also link to the clone. If selected doodles are linked to eachother, their clones will be linked. If original doodles are connected on a layer corresponding to an original doodle, the clones are linked on the appropriate clonelayer.

If the original doodle had a file, the clone is granted a copy in the same directory but with the clonename.

By default, if a clonename collides with a doodle name (including the prefix) the entire phase operation is aborted.

Options

--full-structure

All links are recreated in the clones. This option cannot be used together with --internal-structure-only

--internal-structure-only

Only links in the original doodles' internal structure are recreated. This option cannot be used together with --full-structure

--merge-on-collision

If the name of a clone is already taken, merge the clone with that doodle. The default behaviour is to abort the phase operation.

--no-clonelayers

All multiplex links are recreated on the original layers.

--no-file

Clones won’t get files.

--steal-file

Instead of being copied, the original file is renamed to the clonename.

Metabehaviours

A resultlayer is created which includes all resulting clones for easy selection. It is named: phase.prefix To the resulting clones:

select layer <resultlayer>

The resultlayer is purged on the next clean.

Aliases

clone is equivalent to phase --full-structure