Librarian: -r

www.kxcad.net Home > Electronic Index > Altium(Protel) Index


Your Ad Here

Command line syntax

-r [-a posname] [-b posname] [-c] [-u] [-v]

Description

You can use the option -r for several purposes:

The option -r normally adds a new module to the library. However, if the library already contains a module with the specified name, the existing module is replaced. If you specify a library that does not exist, the librarian creates a new library with the specified name.

If you add a module to the library without specifying the suboption -a or -b, the specified module is added at the end of the archive. Use the suboptions -a or -b  to insert them to a specified place instead.

-a posname

Add the specified object module(s) after the existing module posname.

-b posname

Add the specified object module(s) before the existing module posname.

-c

Create a new library without checking whether it already exists. If the library already exists, it is overwritten.

-u

Insert the specified object module only if it is newer than the module in the library.

-v

Verbose: the librarian shows which files are removed.

Note

The suboptions -a or -b have no effect when an object is added to the library.

Example

Links

Librarian option -t (Print library contents)