This section is designed to highlight one or two features per issue that may be overlooked because they
are not made visually obvious with a toolbar button.
Copy / Paste Model Information Option
The standard copy and paste in Micro-Cap can copy components from one schematic to another schematic. When
a component is copied and pasted, any references it has to a define statement, model statement, or subcircuit
statement are also copied and pasted. However, the actual define, model, or subcircuit statements themselves
are not copied and pasted along with the component. A second step of copying and pasting the corresponding
statement is necessary to fully transfer the component information over to the new schematic. In cases where
the model or subcircuit statements are stored in the global libraries this is not a problem since the reference
is global and is available to all schematics.
An alternative to the standard copy and paste can be used by enabling the Copy / Paste Model Information option.
This option can be accessed within the Options - Circuit page of the Preferences dialog box. If this option is
enabled, when a component is copied that uses a define, model, or subcircuit statement, Micro-Cap checks to see
if the corresponding statement for that component is stored locally in the schematic file. If the statement is
local, it is also sent to the clipboard. When that component is pasted in a different circuit, the statement is
also pasted at the same time.
If a component uses a define statement, the define statement is pasted into the Text page of the schematic. If
a component uses a model or subcircuit, then those statements are pasted into the Models page of the schematic.
If the corresponding statement is taken from a global library or external file then the statement is not copied
and pasted with the component.
If a model, subcircuit, or a define statement with the same name already exists in the schematic file that is being
pasted to, then the corresponding statement is not added during the paste operation. The original information in
the schematic file has the precedence.
|