Function
Opens a library for editing.
Syntax
OPEN library_name
OPEN library_urn
See also CLOSE, USE, EDIT, SCRIPT.
The OPEN command is used to open an existing library or create a new library. Once the library has been opened or created, an existing or new symbol, device, or footprint may be edited.
If a library name is provided and a library of that name exists in the library path, it will be opened; otherwise, a new library with the given name will be created in the first directory in the library path. If a URN is provided and a managed library with that URN exists, is locally available (downloaded), and belongs to the current user, it will be opened.
This command is mainly used in script files.
To switch to the library editor
OPEN .lbr
can be used.
Function
Joins wire segments.
Syntax
OPTIMIZE;
OPTIMIZE name ..
OPTIMIZE ..
Mouse keys
Ctrl+Right optimizes the group.
See also SET, SPLIT, MOVE, ROUTE.
The OPTIMIZE command joins wire segments which lie in one straight line. The individual segments must be on the same layer and have the same width. This command is useful to reduce the number of objects in a drawing and to facilitate moving a complete track instead of individual segments.
If a signal, net or bus name is given, or such an object is selected, the command affects only the respective object.
Note that when selecting a wire without name, all unnamed wires of the drawing are optimized.
Note that when selecting a group of objects, only actual signal resp. net or bus wires are optimized. To optimize all wires in a drawing, do
OPTIMZE;
This wire optimization takes place automatically after MOVE, SPLIT, or ROUTE commands unless it is disabled with the command:
SET OPTIMIZING OFF;
or you have clicked the same spot twice with the SPLIT command. The OPTIMIZE command works in any case, no matter if Optimizing is enabled or disabled.