next up previous contents index
Next: The !lsdb Command: List Up: Libraries and Databases Previous: Libraries and Databases   Contents   Index


The !mklib Command: Create Library File

Syntax: !mklib [archive_file] [-a] [-l]|[-u]
This command will create or append to a library file adding references to cells in the current hierarchy, or to cells in an archive file if archive_file is given. If -a is given, the library entries will be appended to an existing library, otherwise a new library will be created. If -l is given, the reference name will be a lower-cased version of the cell name, or, if -u is given, the reference will be upper-cased.

If archive_file is not given, and the current cell was read from an archive file, the user is prompted for the name of a reference archive file. If a name is given, the library entries will be in the form

Reference refname reference_path/name cellname
otherwise the references are in the form
Reference refname reference_path/cellname
as for native cells. The user is next prompted for the reference path. This should be the path to the directory where the referenced cell files, or archive file, reside. The current directory is the default. Finally, the user is prompted for the name of the library file, which is then created, or appended to if it exists and -a was given.


next up previous contents index
Next: The !lsdb Command: List Up: Libraries and Databases Previous: Libraries and Databases   Contents   Index
Stephen R. Whiteley 2012-04-01